From 8c02f30444cf47146222f980c3947be66f7a6143 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 11 Aug 2020 10:04:38 -0400 Subject: [PATCH] Update mod.rs --- openssl/src/x509/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index e5f2777f..775aac69 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -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 } }