summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/crypto/SConscript3
1 files changed, 2 insertions, 1 deletions
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',