summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2014-04-21 14:57:17 +0000
committerreyk <reyk@openbsd.org>2014-04-21 14:57:17 +0000
commit6caa838eceb5574a94ccb7add370056d3cf81131 (patch)
tree6c6742e9b5cc6330af2a8fd6a237aadfe4f3cf03
parentKNF. (diff)
downloadwireguard-openbsd-6caa838eceb5574a94ccb7add370056d3cf81131.tar.xz
wireguard-openbsd-6caa838eceb5574a94ccb7add370056d3cf81131.zip
The OpenSSL engine passes a "const u_char *" to the callback but
relayd's RSA privsep engine uses an iovec that expects a non-cast "void *". Cast it and disable the -Wcast-qual warning because I don't want to copy the data and I didn't find a better way to implement it. ok guenther@
-rw-r--r--usr.sbin/relayd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/Makefile b/usr.sbin/relayd/Makefile
index 6266eaa117e..e573d9acfd5 100644
--- a/usr.sbin/relayd/Makefile
+++ b/usr.sbin/relayd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.26 2014/04/18 13:55:26 reyk Exp $
+# $OpenBSD: Makefile,v 1.27 2014/04/21 14:57:17 reyk Exp $
PROG= relayd
SRCS= parse.y
@@ -14,7 +14,7 @@ DPADD= ${LIBEVENT} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}
CFLAGS+= -Wall -I${.CURDIR} -I${.CURDIR}/../snmpd
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
-CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wshadow -Wpointer-arith
CFLAGS+= -Wsign-compare
CLEANFILES+= y.tab.h