summaryrefslogtreecommitdiff
path: root/usr.sbin/ocspcheck/Makefile
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2017-01-24 08:50:58 +0000
committerBob Beck <beck@cvs.openbsd.org>2017-01-24 08:50:58 +0000
commitd2ae2bc8df22d412e0ace7551fa824b60b421099 (patch)
tree81980e4125d343a046ea84cfafdb8ebe6e79bad1 /usr.sbin/ocspcheck/Makefile
parent37bcf25f85cd330e32d2d006caf30646dde48046 (diff)
New ocspcheck utility to validate a certificate against its ocsp responder
and save the reply for stapling ok deraadt@ jsing@
Diffstat (limited to 'usr.sbin/ocspcheck/Makefile')
-rw-r--r--usr.sbin/ocspcheck/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/ocspcheck/Makefile b/usr.sbin/ocspcheck/Makefile
new file mode 100644
index 00000000000..55d9b5b7630
--- /dev/null
+++ b/usr.sbin/ocspcheck/Makefile
@@ -0,0 +1,24 @@
+# $OpenBSD: Makefile,v 1.1 2017/01/24 08:50:57 beck Exp $
+
+PROG= ocspcheck
+
+LDADD= -ltls -lssl -lcrypto
+DPADD= ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}
+MAN= ocspcheck.8
+
+CFLAGS+= -Wall -Werror
+CFLAGS+= -Wformat
+CFLAGS+= -Wformat-security
+CFLAGS+= -Wimplicit
+CFLAGS+= -Wreturn-type
+CFLAGS+= -Wshadow
+CFLAGS+= -Wtrigraphs
+CFLAGS+= -Wuninitialized
+CFLAGS+= -Wunused
+
+CFLAGS+= -DLIBRESSL_INTERNAL
+
+SRCS= ocspcheck.c http.c
+
+
+.include <bsd.prog.mk>