[openssh-commits] [openssh] 01/01: request 1.1x API compatibility for OpenSSL >=3.x
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Jun 24 14:41:42 AEST 2022
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit f51423bdaf0008d46b6af082bcfd7a22a87375f0
Author: Damien Miller <djm at mindrot.org>
Date: Fri Jun 24 14:40:42 2022 +1000
request 1.1x API compatibility for OpenSSL >=3.x
idea/patch from Pedro Martelletto via GHPR#322; ok dtucker@
---
configure.ac | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 62c098d6..116b9750 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2796,8 +2796,13 @@ if test "x$openssl" = "xyes" ; then
;;
101*) ;; # 1.1.x
200*) ;; # LibreSSL
- 300*) ;; # OpenSSL 3
- 301*) ;; # OpenSSL development branch.
+ 300*)
+ # OpenSSL 3; we use the 1.1x API
+ CPPFLAGS="$CPPFLAGS -DOPENSSL_API_COMPAT=0x10100000L"
+ ;;
+ 301*)
+ # OpenSSL development branch; request 1.1x API
+ CPPFLAGS="$CPPFLAGS -DOPENSSL_API_COMPAT=0x10100000L"
*)
AC_MSG_ERROR([Unknown/unsupported OpenSSL version ("$ssl_library_ver")])
;;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list