From 7071b7680a3463f149ae21a4caedf33474137b21 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 7 Jun 2026 17:38:35 +0200 Subject: [PATCH] configure: detect OpenSSL via a header the code actually uses Closes #1994 --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 0a671f2c..b8817072 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1010,7 +1010,7 @@ AC_DEFUN([LIBSSH2_CHECK_CRYPTO], [ if test "$use_crypto" = "auto" && test "$found_crypto" = "none" || test "$use_crypto" = "$1"; then m4_case([$1], [openssl], [ - LIBSSH2_LIB_HAVE_LINKFLAGS([ssl], [crypto], [#include ], [ + LIBSSH2_LIB_HAVE_LINKFLAGS([ssl], [crypto], [#include ], [ AC_DEFINE(LIBSSH2_OPENSSL, 1, [Use $1]) found_crypto="$1" found_crypto_str="OpenSSL"