Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/racoon disable compat api setting for openssl 1.1



details:   https://anonhg.NetBSD.org/src/rev/b582a87d118b
branches:  trunk
changeset: 829713:b582a87d118b
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 09 02:37:20 2018 +0000

description:
disable compat api setting for openssl 1.1

diffstat:

 usr.sbin/racoon/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cd812d3dc9dd -r b582a87d118b usr.sbin/racoon/Makefile
--- a/usr.sbin/racoon/Makefile  Fri Feb 09 02:23:32 2018 +0000
+++ b/usr.sbin/racoon/Makefile  Fri Feb 09 02:37:20 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2018/02/07 13:16:50 christos Exp $
+# $NetBSD: Makefile,v 1.32 2018/02/09 02:37:20 christos Exp $
 
 WARNS?=        0       # XXX third-party program, many issues
 NOCLANGERROR=  # defined
@@ -30,7 +30,9 @@
 CPPFLAGS+= -DIPSEC_DEBUG -DHAVE_CONFIG_H -DENABLE_WILDCARD_MATCH
 CPPFLAGS+= -DADMINPORTDIR=\"/var/run\"
 CPPFLAGS+= -DSYSCONFDIR=\"/etc/racoon\"
+.if ${HAVE_OPENSSL} < 11
 CPPFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
+.endif
 
 LDADD+= -ll -ly -lipsec -lutil
 DPADD+= ${LIBL} ${LIBY} ${LIBCRYPTO} ${LIBUTIL}



Home | Main Index | Thread Index | Old Index