macro_rules! openssl_crypto_only {
() => { ... };
}
Expand description
Ensure only libcrypto is linked by its use in the openssl
crate, instead
of both libssl and libcrypto.
The openssl
crate calls OPENSSL_init_ssl
unconditionally, which
initializes both libcrypto and libssl.
This module redefines OPENSSL_init_ssl
so that it calls
OPENSSL_init_crypto
instead. As a result, the linker will skip pulling in
and initializing libssl.