We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
settings
1 parent ebbee1d commit 8b45ed5Copy full SHA for 8b45ed5
rustls-libssl/src/entry.rs
@@ -56,12 +56,9 @@ pub struct OpenSslInitSettings;
56
type OPENSSL_INIT_SETTINGS = OpenSslInitSettings;
57
58
entry! {
59
- pub fn _OPENSSL_init_ssl(_opts: u64, settings: *const OPENSSL_INIT_SETTINGS) -> c_int {
+ pub fn _OPENSSL_init_ssl(_opts: u64, _settings: *const OPENSSL_INIT_SETTINGS) -> c_int {
60
const VERSION: &str = env!("CARGO_PKG_VERSION");
61
62
- if !settings.is_null() {
63
- return Error::not_supported("settings").raise().into();
64
- }
65
env_logger::init();
66
log::trace!("OPENSSL_init_ssl in rustls-libssl {VERSION}");
67
C_INT_SUCCESS
0 commit comments