Skip to content

Commit 2b56eb4

Browse files
committed
crypto: move OPENSSL_IS_BORINGSSL guard
1 parent b82a1a1 commit 2b56eb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/crypto/crypto_util.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ void InitCryptoOnce() {
139139
OPENSSL_init_ssl(0, settings);
140140
OPENSSL_INIT_free(settings);
141141
settings = nullptr;
142-
#endif
143142

144143
#ifndef _WIN32
145144
if (per_process::cli_options->secure_heap != 0) {
@@ -158,6 +157,8 @@ void InitCryptoOnce() {
158157
break;
159158
}
160159
}
160+
#endif
161+
161162
#endif
162163

163164
// Turn off compression. Saves memory and protects against CRIME attacks.

0 commit comments

Comments
 (0)