aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2023-11-05 08:56:09 +0000
committerViktor Szakats <commit@vsz.me>2023-11-05 08:56:09 +0000
commit89fcb1a3e50ac224d68891a6014b74639a5f551a (patch)
tree7bf8f656d79ca40228203e4938cbfc9a0bdfdc52 /crypto
parente6ae33d57216cfe0e88fdbdfb4f0bbf41fa76878 (diff)
downloadportable-89fcb1a3e50ac224d68891a6014b74639a5f551a.tar.gz
portable-89fcb1a3e50ac224d68891a6014b74639a5f551a.tar.bz2
portable-89fcb1a3e50ac224d68891a6014b74639a5f551a.zip
also fix ocspcheck and nc, dedupe build logic
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)