Skip to content

Commit

Permalink
X509_VERIFY_PARAM_get_flags is const
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Nov 27, 2024
1 parent 6a0cfb8 commit 63604d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boring/src/x509/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl X509VerifyParamRef {

/// Gets verification flags.
#[corresponds(X509_VERIFY_PARAM_get_flags)]
pub fn flags(&mut self) -> X509VerifyFlags {
pub fn flags(&self) -> X509VerifyFlags {
let bits = unsafe { ffi::X509_VERIFY_PARAM_get_flags(self.as_ptr()) };
X509VerifyFlags::from_bits_retain(bits)
}
Expand Down

0 comments on commit 63604d5

Please sign in to comment.