diff options
author | Brent Cook <busterb@gmail.com> | 2023-11-05 14:32:26 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-11-05 14:32:26 -0600 |
commit | 36175c41bf6e7acfaa827117ccafb01978f1fef6 (patch) | |
tree | 6fa2f435b987de023a7a4af2fd665a64d7f34a50 /apps/nc | |
parent | 76439093ca49fb5590c97254aeb446d72c1be03f (diff) | |
parent | 89fcb1a3e50ac224d68891a6014b74639a5f551a (diff) | |
download | portable-36175c41bf6e7acfaa827117ccafb01978f1fef6.tar.gz portable-36175c41bf6e7acfaa827117ccafb01978f1fef6.tar.bz2 portable-36175c41bf6e7acfaa827117ccafb01978f1fef6.zip |
Land #930, consistently use default CA cert location for Windows
Diffstat (limited to 'apps/nc')
-rw-r--r-- | apps/nc/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt index ffd68e5..868b797 100644 --- a/apps/nc/CMakeLists.txt +++ b/apps/nc/CMakeLists.txt | |||
@@ -29,11 +29,7 @@ else() | |||
29 | set(NC_SRC ${NC_SRC} compat/readpassphrase.c) | 29 | set(NC_SRC ${NC_SRC} compat/readpassphrase.c) |
30 | endif() | 30 | endif() |
31 | 31 | ||
32 | if(NOT "${OPENSSLDIR}" STREQUAL "") | 32 | add_definitions(-DDEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\") |
33 | add_definitions(-DDEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\") | ||
34 | else() | ||
35 | add_definitions(-DDEFAULT_CA_FILE=\"${CMAKE_INSTALL_PREFIX}/etc/ssl/cert.pem\") | ||
36 | endif() | ||
37 | 33 | ||
38 | add_executable(nc ${NC_SRC}) | 34 | add_executable(nc ${NC_SRC}) |
39 | target_include_directories(nc | 35 | target_include_directories(nc |