Loading openssl/src/x509/mod.rs +2 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
openssl/src/x509/mod.rs +2 −0 Original line number Diff line number Diff line Loading @@ -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