Skip to content

Commit 034bf7b

Browse files
committed
tweaks to use the latest civetweb version + adapt to modern ciphers
1 parent efcf1cb commit 034bf7b

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ELSE()
2727
ENDIF()
2828

2929
IF("$ENV{CIVETWEB_GITTAG}" STREQUAL "")
30-
set(CIVETWEB_GITTAG "v1.11")
30+
set(CIVETWEB_GITTAG "v1.16")
3131
ELSE()
3232
set(CIVETWEB_GITTAG "$ENV{CIVETWEB_GITTAG}")
3333
ENDIF()
@@ -118,6 +118,7 @@ if(BUNDLE_CIVETWEB)
118118
PATCH_COMMAND sed -i ${SED_FREEBSD} s/__DATE__/"110973"/ src/main.c src/civetweb.c
119119
INSTALL_DIR /usr/local
120120
CMAKE_ARGS .. -DCMAKE_INSTALL_PREFIX=/usr
121+
-DCMAKE_INSTALL_LIBDIR=lib
121122
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
122123
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
123124
-DCIVETWEB_ENABLE_CXX=OFF
@@ -130,7 +131,7 @@ if(BUNDLE_CIVETWEB)
130131
-DCIVETWEB_BUILD_TESTING=OFF
131132
-DCIVETWEB_SSL_OPENSSL_API_1_1=${OPENSSL_API_1_1}
132133
-DOPENSSL_USE_STATIC_LIBS=${OPENSSL_USE_STATIC_LIBS}
133-
-DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=ON
134+
-DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=OFF
134135
-DCIVETWEB_ALLOW_WARNINGS=ON
135136
${CIVETWEB_CUST_ARGS}
136137
INSTALL_COMMAND make install DESTDIR=${CMAKE_CURRENT_SOURCE_DIR}/vendor/

tests/cfg/uts-server-ssl.cnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ other_policies = tsa_policy2, tsa_policy3
115115

116116
# Acceptable message digests
117117
# (mandatory)
118-
digests = md5, sha1
118+
digests = md5, sha1, sha224, sha256, sha384, sha512
119119

120120
# (optional)
121121
accuracy = secs:1, millisecs:500, microsecs:100

tests/external_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ kill `cat ./uts-server.pid`
3232

3333
sed "s/2020/$PORT/" tests/cfg/uts-server-ssl.cnf >$CFG
3434

35-
sleep 1
35+
sleep 3
3636

3737
$TO ./uts-server -c $CFG -D -p ./uts-server.pid &
3838

0 commit comments

Comments
 (0)