Skip to content

Commit

Permalink
use_wolfssl: Address #17516 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoftsm committed Apr 25, 2024
1 parent 7605380 commit 21be968
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,16 @@ if(ENABLE_WOLFSSL)
set(ENABLE_H2O False)
# OSSL_DECODER_CTX does not exist in WolfSSL
set(ENABLE_ACLK False)

# wolfssl
pkg_check_modules(WOLFSSL wolfssl)
else()
set(ENABLE_OPENSSL True)
option(ENABLE_H2O "Enable H2O web server (experimental)" True)
mark_as_advanced(ENABLE_H2O)

# openssl/crypto
pkg_check_modules(OPENSSL openssl)
endif()

if(ENABLE_ACLK OR ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE)
Expand Down Expand Up @@ -520,12 +526,6 @@ if(FREEBSD OR MACOS)
set(HAVE_BUILTIN_ATOMICS True)
endif()

# openssl/crypto
pkg_check_modules(OPENSSL openssl)

# wolfssl
pkg_check_modules(WOLFSSL wolfssl)

if(NOT OPENSSL_FOUND AND ENABLE_OPENSSL)
if(MACOS)
execute_process(COMMAND
Expand Down

0 comments on commit 21be968

Please sign in to comment.