diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-08-30 23:20:31 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-08-30 23:21:30 +0200 |
commit | eb8283bb1ad0dd5c826f6b1791e30a6af4b412ae (patch) | |
tree | 90e2216e68c7e9e0909da976ae0f179bbce85b86 /configure.ac | |
parent | 415f0370ea645203dc06336605cae965973aa1c3 (diff) |
configure: check for HMAC_Update in openssl
Turns out HMAC_Init is now deprecated in openssl master (and I spelled
HMAC_Init_ex wrong in previous commit)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d269210ec..843a3badf 100644 --- a/configure.ac +++ b/configure.ac @@ -1493,13 +1493,13 @@ if test "$curl_ssl_msg" = "$init_ssl_msg" && test X"$OPT_SSL" != Xno; then ;; esac - AC_CHECK_LIB(crypto, HMAC_Init,[ + AC_CHECK_LIB(crypto, HMAC_Update,[ HAVECRYPTO="yes" LIBS="-lcrypto $LIBS" ],[ LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL" CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include" - AC_CHECK_LIB(crypto, HMAC_Init_Ex,[ + AC_CHECK_LIB(crypto, HMAC_Init_ex,[ HAVECRYPTO="yes" LIBS="-lcrypto $LIBS"], [ LDFLAGS="$CLEANLDFLAGS" |