1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Build based on OpenSSL version, not API level. Fixes #2516

This commit is contained in:
dmiller
2022-09-06 22:39:34 +00:00
parent 9732e6979e
commit d6bea8dcde
9 changed files with 24 additions and 75 deletions

View File

@@ -133,7 +133,7 @@ int http_digest_init_secret(void)
return 0;
}
#if OPENSSL_API_LEVEL < 10100
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#define EVP_MD_CTX_new EVP_MD_CTX_create
#define EVP_MD_CTX_free EVP_MD_CTX_destroy
#endif