diff --git a/openssl/src/x509/store.rs b/openssl/src/x509/store.rs index 2fb342a10d9a4e65618d7117d35ba35508dd4cf2..2ccc78d7e14872b7e513d80a8b9ed4436355a3d8 100644 --- a/openssl/src/x509/store.rs +++ b/openssl/src/x509/store.rs @@ -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 { + pub fn objects(&self) -> &StackRef { unsafe { StackRef::from_ptr(X509_STORE_get0_objects(self.as_ptr())) } } }