Skip to content

Commit

Permalink
Don't use LIBMD if it's not found
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Sep 16, 2022
1 parent afa2213 commit 0918344
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,9 @@ CHECK_CRYPTO("MD5;RMD160;SHA1;SHA256;SHA384;SHA512" NETTLE)
CHECK_CRYPTO("MD5;RMD160;SHA1;SHA256;SHA384;SHA512" OPENSSL)

# Libmd has to be probed after OpenSSL.
CHECK_CRYPTO("MD5;RMD160;SHA1;SHA256;SHA512" LIBMD)
if(LIBMD)
CHECK_CRYPTO("MD5;RMD160;SHA1;SHA256;SHA512" LIBMD)
endif()

CHECK_CRYPTO_WIN("MD5;SHA1;SHA256;SHA384;SHA512")

Expand Down

0 comments on commit 0918344

Please sign in to comment.