Unverified Commit 8c02f304 authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Update mod.rs

parent 4849ac0a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 }
    }