We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_crl
X509StoreBuilderRef
Example of what I'd like to do:
let crl = openssl::x509::X509Crl::from_der(crl.as_ref())?; ssl.cert_store_mut()::add_crl(crl)?;
This is the workaround for now:
extern "C" { pub fn X509_STORE_add_crl( store: *mut openssl_sys::X509_STORE, x: *mut openssl_sys::X509_CRL, ) -> openssl_sys::c_int; } let crl = openssl::x509::X509Crl::from_der(crl.as_ref())?; let crl_ptr = crl.as_ptr(); let res = unsafe { X509_STORE_add_crl(ptr, crl_ptr) }; if res != 1 { return Err(std::io::Error::new( std::io::ErrorKind::Other, "Failed to add CRL to store", ) .into()); }
The text was updated successfully, but these errors were encountered:
Looks like #1927 actually contains this fix.
Sorry, something went wrong.
No branches or pull requests
Example of what I'd like to do:
This is the workaround for now:
The text was updated successfully, but these errors were encountered: