Cast to u32
This commit is contained in:
parent
1cffc2b575
commit
4849ac0aab
|
|
@ -399,8 +399,8 @@ impl X509Ref {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the hash of the certificates subject
|
/// Returns the hash of the certificates subject
|
||||||
pub fn subject_name_hash(&self) -> u64 {
|
pub fn subject_name_hash(&self) -> u32 {
|
||||||
unsafe { ffi::X509_subject_name_hash(self.as_ptr()) }
|
unsafe { ffi::X509_subject_name_hash(self.as_ptr()) as u32 }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns this certificate's issuer name.
|
/// Returns this certificate's issuer name.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue