Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh only set the compat version for ...



details:   https://anonhg.NetBSD.org/src/rev/de25686c7e69
branches:  trunk
changeset: 829711:de25686c7e69
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 09 01:54:46 2018 +0000

description:
only set the compat version for OpenSSL-1.0

diffstat:

 crypto/external/bsd/openssh/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e642e0e6a48e -r de25686c7e69 crypto/external/bsd/openssh/Makefile.inc
--- a/crypto/external/bsd/openssh/Makefile.inc  Thu Feb 08 23:52:26 2018 +0000
+++ b/crypto/external/bsd/openssh/Makefile.inc  Fri Feb 09 01:54:46 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.12 2018/02/06 20:10:36 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2018/02/09 01:54:46 christos Exp $
 
 WARNS?=        4
 
@@ -15,7 +15,9 @@
 CPPFLAGS+=-DHAVE_HEADER_AD
 CPPFLAGS+=-DHAVE_LOGIN_CAP
 CPPFLAGS+=-DHAVE_STDLIB_H
+.if ${HAVE_OPENSSL} < 11
 CPPFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
+.endif
 
 CPPFLAGS+=-DWITH_OPENSSL -DENABLE_PKCS11 -D_OPENBSD_SOURCE
 .if !defined(NOPIC)



Home | Main Index | Thread Index | Old Index