-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Description
Implementing Clone for X509Store has been attempted twice in #108 and #339.
The latest revert in #353 documented this shouldn't be done because of SslContextBuilder::set_cert_store and SslContextBuilder::cert_store_mut.
let mut ctx = SslContext::builder().unwrap();
let store = X509Store::new().unwrap();
ctx.set_cert_store(store.clone());
// This is bad.
let aliased_store = ctx.cert_store_mut();Maybe we should just remove cert_store_mut and make people use set_cert_store only?
Metadata
Metadata
Assignees
Labels
No labels