summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
257cb6a)
The latter function disappeared, and wasn't actually used in tinc, so now we
check on a function that we do use.
case $host_os in
*mingw*)
case $host_os in
*mingw*)
- AC_CHECK_LIB(crypto, SHA1_version,
+ AC_CHECK_LIB(crypto, EVP_EncryptInit_ex,
[LIBS="$LIBS -lcrypto -lgdi32 -lcrypt32"],
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)
;;
*)
[LIBS="$LIBS -lcrypto -lgdi32 -lcrypt32"],
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)
;;
*)
- AC_CHECK_LIB(crypto, SHA1_version,
+ AC_CHECK_LIB(crypto, EVP_EncryptInit_ex,
[LIBS="$LIBS -lcrypto"],
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)
[LIBS="$LIBS -lcrypto"],
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)