diff options
author | Wayne Davison <wayne@opencoder.net> | 2022-10-25 21:55:53 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2022-10-25 21:55:53 -0700 |
commit | 556a2c5bc2f6244f140a96302d4df92cfc25af8b (patch) | |
tree | 77b1d17ff3ff0e6af5904993a720913eb08ca430 | |
parent | 27feda0436e39e04ae53e08247739f8b6c906d56 (diff) | |
download | rsync-556a2c5bc2f6244f140a96302d4df92cfc25af8b.tar.gz |
Check for EVP_MD_CTX_copy in crypto lib instead of MD5_Init.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index a2c99558..ccad7f13 100644 --- a/configure.ac +++ b/configure.ac @@ -432,10 +432,10 @@ AH_TEMPLATE([USE_OPENSSL], if test x"$enable_openssl" != x"no"; then if test x"$ac_cv_header_openssl_md4_h" = x"yes" && test x"$ac_cv_header_openssl_md5_h" = x"yes"; then AC_MSG_RESULT(yes) - AC_SEARCH_LIBS(MD5_Init, crypto, + AC_SEARCH_LIBS(EVP_MD_CTX_copy, crypto, [AC_DEFINE(USE_OPENSSL) enable_openssl=yes], - [err_msg="$err_msg$nl- Failed to find MD5_Init function in openssl crypto lib."; + [err_msg="$err_msg$nl- Failed to find EVP_MD_CTX_copy function in openssl crypto lib."; no_lib="$no_lib openssl"]) else AC_MSG_RESULT(no) |