mirror of
https://github.com/curl/curl.git
synced 2026-07-04 18:47:16 +03:00
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)
This commit is contained in:
parent
415f0370ea
commit
eb8283bb1a
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue