aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-11-05 14:31:01 -0600
committerBrent Cook <busterb@gmail.com>2023-11-05 14:31:01 -0600
commitba0adb9a2f8bc85b6a6ad451fed93c0cf04fdc42 (patch)
treed59fe4e7ceed270049694c17e1f19f19d4730256 /crypto
parentd193f43f8b90cbed65ffeec93543d8a3d17bdedc (diff)
parent89fcb1a3e50ac224d68891a6014b74639a5f551a (diff)
downloadportable-ba0adb9a2f8bc85b6a6ad451fed93c0cf04fdc42.tar.gz
portable-ba0adb9a2f8bc85b6a6ad451fed93c0cf04fdc42.tar.bz2
portable-ba0adb9a2f8bc85b6a6ad451fed93c0cf04fdc42.zip
Land #930, consistently use default CA cert location for Windows
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 7efb143..6056471 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -912,15 +912,7 @@ else()
912 endif() 912 endif()
913endif() 913endif()
914 914
915if(NOT "${OPENSSLDIR}" STREQUAL "") 915add_definitions(-DOPENSSLDIR=\"${OPENSSLDIR}\")
916 add_definitions(-DOPENSSLDIR=\"${OPENSSLDIR}\")
917else()
918 if(WIN32)
919 add_definitions(-DOPENSSLDIR=\"C:/Windows/libressl/ssl\")
920 else()
921 add_definitions(-DOPENSSLDIR=\"${CMAKE_INSTALL_PREFIX}/etc/ssl\")
922 endif()
923endif()
924 916
925file(READ ${CMAKE_CURRENT_SOURCE_DIR}/crypto.sym SYMS) 917file(READ ${CMAKE_CURRENT_SOURCE_DIR}/crypto.sym SYMS)
926foreach(SYM IN LISTS CRYPTO_UNEXPORT) 918foreach(SYM IN LISTS CRYPTO_UNEXPORT)