diff --git a/src/crypto/crypto_util.cc b/src/crypto/crypto_util.cc index 13c40dcb757661..f18304cd655842 100644 --- a/src/crypto/crypto_util.cc +++ b/src/crypto/crypto_util.cc @@ -139,7 +139,6 @@ void InitCryptoOnce() { OPENSSL_init_ssl(0, settings); OPENSSL_INIT_free(settings); settings = nullptr; -#endif #ifndef _WIN32 if (per_process::cli_options->secure_heap != 0) { @@ -160,6 +159,8 @@ void InitCryptoOnce() { } #endif +#endif // OPENSSL_IS_BORINGSSL + // Turn off compression. Saves memory and protects against CRIME attacks. // No-op with OPENSSL_NO_COMP builds of OpenSSL. sk_SSL_COMP_zero(SSL_COMP_get_compression_methods());