Skip to content

Commit

Permalink
[unbound] fix static builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sumogr authored Dec 22, 2020
1 parent 466e77b commit 8b4a524
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions thirdparty/unbound/configure_checks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ check_symbol_exists(NID_X9_62_prime256v1 "openssl/evp.h" HAVE_DECL_NID_X9_62_PRI
check_symbol_exists(sk_SSL_COMP_pop_free "openssl/ssl.h" HAVE_DECL_SK_SSL_COMP_POP_FREE)
check_symbol_exists(SSL_COMP_get_compression_methods "openssl/ssl.h" HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS)

check_function_exists(EVP_MD_CTX_new HAVE_EVP_MD_CTX_NEW)
set(HAVE_EVP_MD_CTX_NEW 1)
check_function_exists(EVP_sha1 HAVE_EVP_SHA1)
check_function_exists(EVP_sha256 HAVE_EVP_SHA256)
check_function_exists(EVP_sha512 HAVE_EVP_SHA512)
set(HAVE_EVP_SHA256 1)
set(HAVE_EVP_SHA512 1)
check_function_exists(FIPS_mode HAVE_FIPS_MODE)
check_function_exists(HMAC_Update HAVE_HMAC_UPDATE)
check_function_exists(OPENSSL_config HAVE_OPENSSL_CONFIG)
Expand Down

0 comments on commit 8b4a524

Please sign in to comment.