From 6caa838eceb5574a94ccb7add370056d3cf81131 Mon Sep 17 00:00:00 2001 From: reyk Date: Mon, 21 Apr 2014 14:57:17 +0000 Subject: [PATCH] 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@ --- usr.sbin/relayd/Makefile | 4 ++-- 1 file 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 -- 2.20.1