You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OpenSSL docs there are described SSL_CTX_clear_mode and SSL_CTX_get_mode functions.
It seems that library rust-openssl does not expose those functions. Is it possible to create bindings for them or other/newer functions should be used instead?
It seems that library rust-openssl does not expose those functions
Those are not functions. Those are C preprocessor macros which are even more type unsafe than C generally is. These do what the rust-openssl reimplementation does:
In OpenSSL docs there are described
SSL_CTX_clear_mode
andSSL_CTX_get_mode
functions.It seems that library rust-openssl does not expose those functions. Is it possible to create bindings for them or other/newer functions should be used instead?
I see that https://docs.rs/openssl-sys/0.9.104/src/openssl_sys/ssl.rs.html#245-247 even SSL_CTX_set_mode does not use underlying OpenSSL's provided SSL_CTX_set_mode.
It SSL_CTX_ctrl docs there is comment:
The text was updated successfully, but these errors were encountered: