aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-11-05 14:32:26 -0600
committerBrent Cook <busterb@gmail.com>2023-11-05 14:32:26 -0600
commit36175c41bf6e7acfaa827117ccafb01978f1fef6 (patch)
tree6fa2f435b987de023a7a4af2fd665a64d7f34a50 /crypto
parent76439093ca49fb5590c97254aeb446d72c1be03f (diff)
parent89fcb1a3e50ac224d68891a6014b74639a5f551a (diff)
downloadportable-36175c41bf6e7acfaa827117ccafb01978f1fef6.tar.gz
portable-36175c41bf6e7acfaa827117ccafb01978f1fef6.tar.bz2
portable-36175c41bf6e7acfaa827117ccafb01978f1fef6.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)