Module Name:    src
Committed By:   christos
Date:           Fri Feb  9 01:54:46 UTC 2018

Modified Files:
        src/crypto/external/bsd/openssh: Makefile.inc

Log Message:
only set the compat version for OpenSSL-1.0


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/crypto/external/bsd/openssh/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssh/Makefile.inc
diff -u src/crypto/external/bsd/openssh/Makefile.inc:1.12 src/crypto/external/bsd/openssh/Makefile.inc:1.13
--- src/crypto/external/bsd/openssh/Makefile.inc:1.12	Tue Feb  6 15:10:36 2018
+++ src/crypto/external/bsd/openssh/Makefile.inc	Thu Feb  8 20:54:46 2018
@@ -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_DLOPEN
 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)

Reply via email to