Skip to content

Commit 556a2c5

Browse files
committed
Check for EVP_MD_CTX_copy in crypto lib instead of MD5_Init.
1 parent 27feda0 commit 556a2c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,10 @@ AH_TEMPLATE([USE_OPENSSL],
432432
if test x"$enable_openssl" != x"no"; then
433433
if test x"$ac_cv_header_openssl_md4_h" = x"yes" && test x"$ac_cv_header_openssl_md5_h" = x"yes"; then
434434
AC_MSG_RESULT(yes)
435-
AC_SEARCH_LIBS(MD5_Init, crypto,
435+
AC_SEARCH_LIBS(EVP_MD_CTX_copy, crypto,
436436
[AC_DEFINE(USE_OPENSSL)
437437
enable_openssl=yes],
438-
[err_msg="$err_msg$nl- Failed to find MD5_Init function in openssl crypto lib.";
438+
[err_msg="$err_msg$nl- Failed to find EVP_MD_CTX_copy function in openssl crypto lib.";
439439
no_lib="$no_lib openssl"])
440440
else
441441
AC_MSG_RESULT(no)

0 commit comments

Comments
 (0)