Update mod.rs
This commit is contained in:
parent
4849ac0aab
commit
8c02f30444
|
|
@ -399,6 +399,8 @@ impl X509Ref {
|
|||
}
|
||||
|
||||
/// Returns the hash of the certificates subject
|
||||
///
|
||||
/// This corresponds to `X509_subject_name_hash`.
|
||||
pub fn subject_name_hash(&self) -> u32 {
|
||||
unsafe { ffi::X509_subject_name_hash(self.as_ptr()) as u32 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue