summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2014-04-21 14:57:18 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2014-04-21 14:57:18 +0000
commit24b087fecac3b57557ff606920d35cac4378a1ef (patch)
tree5d8c0c5fc399b4f1b5abbf0088d4abf709d406f0
parentb002cf6ca9bdffbdd007aee007bf1d09e1ddb30c (diff)
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