diff --git a/configure b/configure index ca416add4..f762ad2f7 100755 --- a/configure +++ b/configure @@ -23674,7 +23674,7 @@ fi else enable_openssl=yes fi - LIBTLS="${LIBTLS} -lcrypto -lssl" + LIBTLS="${LIBTLS} -lssl -lcrypto" # Use OpenSSL's sha2 functions if possible { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA224_Update in -lcrypto" >&5 diff --git a/configure.ac b/configure.ac index c6e383dd3..9454f9307 100644 --- a/configure.ac +++ b/configure.ac @@ -2995,7 +2995,7 @@ if test "${enable_openssl-no}" != no; then else enable_openssl=yes fi - LIBTLS="${LIBTLS} -lcrypto -lssl" + LIBTLS="${LIBTLS} -lssl -lcrypto" # Use OpenSSL's sha2 functions if possible AC_CHECK_LIB(crypto, SHA224_Update, [