summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-06-06 12:49:37 -0400
committerSara Golemon <sara.golemon@mongodb.com>2018-06-08 13:10:56 -0400
commit4448250e1aa4f778af67fc93176b0d07b3762a1f (patch)
treece07a0d3fc461ba7dacfec347c644e167664dddd /SConstruct
parentb0ba1c3935e4793edb32eece425fb5fb48892d1e (diff)
downloadmongo-4448250e1aa4f778af67fc93176b0d07b3762a1f.tar.gz
SERVER-35412 Namespace SSL_PROVIDER values
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index f382cccfda3..087bcba6d69 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2970,12 +2970,12 @@ def doConfigure(myenv):
if ssl_provider == 'native':
if conf.env.TargetOSIs('windows'):
ssl_provider = 'windows'
- env.SetConfigHeaderDefine("MONGO_CONFIG_SSL_PROVIDER", "SSL_PROVIDER_WINDOWS")
+ env.SetConfigHeaderDefine("MONGO_CONFIG_SSL_PROVIDER", "MONGO_CONFIG_SSL_PROVIDER_WINDOWS")
conf.env.Append( MONGO_CRYPTO=["windows"] )
elif conf.env.TargetOSIs('darwin', 'macOS'):
ssl_provider = 'apple'
- env.SetConfigHeaderDefine("MONGO_CONFIG_SSL_PROVIDER", "SSL_PROVIDER_APPLE")
+ env.SetConfigHeaderDefine("MONGO_CONFIG_SSL_PROVIDER", "MONGO_CONFIG_SSL_PROVIDER_APPLE")
conf.env.Append( MONGO_CRYPTO=["apple"] )
conf.env.AppendUnique(FRAMEWORKS=[
'CoreFoundation',
@@ -2986,7 +2986,7 @@ def doConfigure(myenv):
if has_option("ssl"):
checkOpenSSL(conf)
# Working OpenSSL available, use it.
- env.SetConfigHeaderDefine("MONGO_CONFIG_SSL_PROVIDER", "SSL_PROVIDER_OPENSSL")
+ env.SetConfigHeaderDefine("MONGO_CONFIG_SSL_PROVIDER", "MONGO_CONFIG_SSL_PROVIDER_OPENSSL")
conf.env.Append( MONGO_CRYPTO=["openssl"] )
else: