Update openssl/src/x509/store.rs
This commit is contained in:
parent
41162e27ab
commit
29f62786ff
|
|
@ -108,7 +108,7 @@ foreign_type_and_impl_send_sync! {
|
||||||
|
|
||||||
impl X509StoreRef {
|
impl X509StoreRef {
|
||||||
/// Get a reference to the cache of certificates in this store.
|
/// 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())) }
|
unsafe { StackRef::from_ptr(X509_STORE_get0_objects(self.as_ptr())) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue