summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2023-05-09 20:02:59 +0000
committerchristos <christos@NetBSD.org>2023-05-09 20:02:59 +0000
commita19b01b79de3a5e4d2a9cde3bfa7d367bc3f133e (patch)
treea614820432a6083d9e79d9099c0a5da35c1bbc03 /usr.sbin
parent00892359f81405f561d22e4e21631dec5eb46550 (diff)
Handle OpenSSL-3.x
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/racoon/Makefile9
-rw-r--r--usr.sbin/syslogd/Makefile4
2 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/racoon/Makefile b/usr.sbin/racoon/Makefile
index 502f01ba46f..84e51fccc5f 100644
--- a/usr.sbin/racoon/Makefile
+++ b/usr.sbin/racoon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2023/05/09 02:30:21 christos Exp $
+# $NetBSD: Makefile,v 1.42 2023/05/09 20:11:54 christos Exp $
WARNS?= 0 # XXX third-party program, many issues
NOCLANGERROR= # defined
@@ -84,9 +84,10 @@ prsa_par.c: ${DIST}/src/racoon/prsa_par.y
CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
COPTS+= -fcommon
-COPTS.crypto_openssl.c+=-Wno-error=deprecated-declarations
-COPTS.rsalist.c+=-Wno-error=deprecated-declarations
-COPTS.prsa_par.c+=-Wno-error=deprecated-declarations
+COPTS.crypto_openssl.c+= -Wno-error=deprecated-declarations
+COPTS.rsalist.c+= -Wno-error=deprecated-declarations
+COPTS.prsa_par.c+= -Wno-error=deprecated-declarations
+COPTS.plainrsa-gen.c+= -Wno-error=deprecated-declarations
.include <bsd.prog.mk>
diff --git a/usr.sbin/syslogd/Makefile b/usr.sbin/syslogd/Makefile
index 6a584dbdb9c..95d79eca259 100644
--- a/usr.sbin/syslogd/Makefile
+++ b/usr.sbin/syslogd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2021/03/07 15:09:12 christos Exp $
+# $NetBSD: Makefile,v 1.32 2023/05/09 20:10:07 christos Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
@@ -32,5 +32,7 @@ LDADD+= -lssl -lcrypto
# Overflow that appears impossible
COPTS.syslogd.c+= ${GCC_NO_FORMAT_TRUNCATION} ${GCC_NO_STRINGOP_TRUNCATION}
+COPTS.tls.c+= -Wno-error=deprecated-declarations
+COPTS.sign.c+= -Wno-error=deprecated-declarations
.include <bsd.prog.mk>