Skip to content

Commit cd01cbd

Browse files
authored
Merge pull request #1203 from sumoprojects/dev
[unbound] fix static builds
2 parents 466e77b + 8b4a524 commit cd01cbd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

thirdparty/unbound/configure_checks.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,10 @@ check_symbol_exists(NID_X9_62_prime256v1 "openssl/evp.h" HAVE_DECL_NID_X9_62_PRI
202202
check_symbol_exists(sk_SSL_COMP_pop_free "openssl/ssl.h" HAVE_DECL_SK_SSL_COMP_POP_FREE)
203203
check_symbol_exists(SSL_COMP_get_compression_methods "openssl/ssl.h" HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS)
204204

205-
check_function_exists(EVP_MD_CTX_new HAVE_EVP_MD_CTX_NEW)
205+
set(HAVE_EVP_MD_CTX_NEW 1)
206206
check_function_exists(EVP_sha1 HAVE_EVP_SHA1)
207-
check_function_exists(EVP_sha256 HAVE_EVP_SHA256)
208-
check_function_exists(EVP_sha512 HAVE_EVP_SHA512)
207+
set(HAVE_EVP_SHA256 1)
208+
set(HAVE_EVP_SHA512 1)
209209
check_function_exists(FIPS_mode HAVE_FIPS_MODE)
210210
check_function_exists(HMAC_Update HAVE_HMAC_UPDATE)
211211
check_function_exists(OPENSSL_config HAVE_OPENSSL_CONFIG)

0 commit comments

Comments
 (0)