mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
request 1.1x API compatibility for OpenSSL >=3.x
idea/patch from Pedro Martelletto via GHPR#322; ok dtucker@
This commit is contained in:
parent
455cee8d6c
commit
f51423bdaf
@ -2796,8 +2796,13 @@ if test "x$openssl" = "xyes" ; then
|
|||||||
;;
|
;;
|
||||||
101*) ;; # 1.1.x
|
101*) ;; # 1.1.x
|
||||||
200*) ;; # LibreSSL
|
200*) ;; # LibreSSL
|
||||||
300*) ;; # OpenSSL 3
|
300*)
|
||||||
301*) ;; # OpenSSL development branch.
|
# 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")])
|
AC_MSG_ERROR([Unknown/unsupported OpenSSL version ("$ssl_library_ver")])
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user