From bed6aab7f074a754619d0c35bd160275c0082c6f Mon Sep 17 00:00:00 2001 From: Sergey Galtsev Date: Wed, 16 Mar 2022 23:18:37 +0000 Subject: SERVER-64596 add ref to openssl_init for proper initialization --- src/mongo/crypto/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mongo/crypto/SConscript b/src/mongo/crypto/SConscript index 934b9b30e48..2e84f15e626 100644 --- a/src/mongo/crypto/SConscript +++ b/src/mongo/crypto/SConscript @@ -3,6 +3,7 @@ Import([ 'env', 'get_option', + 'ssl_provider', ]) env = env.Clone() @@ -134,7 +135,7 @@ env.CppUnitTest( LIBDEPS=[ '$BUILD_DIR/mongo/base', '$BUILD_DIR/mongo/base/secure_allocator', - '$BUILD_DIR/mongo/util/net/openssl_init', + '$BUILD_DIR/mongo/util/net/openssl_init' if ssl_provider == 'openssl' else '', 'aead_encryption', 'encrypted_field_config', 'fle_crypto', -- cgit v1.2.1