Module Name:    src
Committed By:   christos
Date:           Tue May  9 20:14:38 UTC 2023

Modified Files:
        src/usr.sbin/plainrsa-gen: Makefile

Log Message:
Handle OpenSSL-3.x


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/plainrsa-gen/Makefile

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

Modified files:

Index: src/usr.sbin/plainrsa-gen/Makefile
diff -u src/usr.sbin/plainrsa-gen/Makefile:1.1 src/usr.sbin/plainrsa-gen/Makefile:1.2
--- src/usr.sbin/plainrsa-gen/Makefile:1.1	Sun Jan 23 09:35:44 2022
+++ src/usr.sbin/plainrsa-gen/Makefile	Tue May  9 16:14:37 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/01/23 14:35:44 christos Exp $
+# $NetBSD: Makefile,v 1.2 2023/05/09 20:14:37 christos Exp $
 
 WARNS?=	0	# XXX third-party program, many issues
 NOCLANGERROR=	# defined
@@ -25,6 +25,11 @@ CPPFLAGS+=	-DOPENSSL_API_COMPAT=0x101000
 LDADD+= -lcrypto -lipsec
 DPADD+= ${LIBCRYPTO} ${LIBIPSEC}
 
+COPTS.plainrsa-gen.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
+
 LPREFIX=prsa
 YPREFIX=prsa
 YFLAGS=-d

Reply via email to