Update openssl/src/x509/store.rs

This commit is contained in:
Steven Fackler 2020-03-24 17:20:54 -04:00 committed by GitHub
parent 41162e27ab
commit 29f62786ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ foreign_type_and_impl_send_sync! {
impl X509StoreRef {
/// Get a reference to the cache of certificates in this store.
pub fn certs(&self) -> &StackRef<X509Object> {
pub fn objects(&self) -> &StackRef<X509Object> {
unsafe { StackRef::from_ptr(X509_STORE_get0_objects(self.as_ptr())) }
}
}