aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2025-03-27 00:19:14 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2025-03-27 00:19:14 +0000
commitd4f438357e90ee1cb12819d092913fdbce813626 (patch)
tree34ec5b3d3e6aa7dd70b1b80817346ba438359ed7
parentfd52a9e11c5250c196f5ec7fd2cefa64094621c4 (diff)
openssh: Request the OpenSSL 1.1 API
Upstream OpenSSH commit f51423bda ("request 1.1x API compatibility for OpenSSL >=3.x") requests OPENSSL_API_COMPAT version 0x10100000L (OpenSSL 1.1.0), in order to avoid warnings about deprecated functions. Do the same here, to avoid getting those warnings. Reviewed by: emaste Approved by: emaste (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D49517
-rw-r--r--secure/ssh.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/secure/ssh.mk b/secure/ssh.mk
index 8411fb11fb16..f522e1a927fc 100644
--- a/secure/ssh.mk
+++ b/secure/ssh.mk
@@ -24,3 +24,5 @@ CFLAGS+= -DLIBWRAP=1
# Built-in security key support
CFLAGS+= -include sk_config.h
.endif
+
+CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L