From 3a7cb311da95ed70f5c85d9c9b67c9a37b449fa5 Mon Sep 17 00:00:00 2001 From: semarie <> Date: Tue, 26 Apr 2016 09:37:59 +0000 Subject: add "dns" to openssl ocsp problem reported by Alexandre (kAworu) ok beck@ deraadt@ sthen@ --- src/usr.bin/openssl/ocsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/ocsp.c b/src/usr.bin/openssl/ocsp.c index 70dddb4f09..948c4261e2 100644 --- a/src/usr.bin/openssl/ocsp.c +++ b/src/usr.bin/openssl/ocsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocsp.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */ +/* $OpenBSD: ocsp.c,v 1.8 2016/04/26 09:37:59 semarie Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -147,7 +147,7 @@ ocsp_main(int argc, char **argv) const char *errstr = NULL; if (single_execution) { - if (pledge("stdio inet rpath wpath cpath", NULL) == -1) { + if (pledge("stdio inet dns rpath wpath cpath", NULL) == -1) { perror("pledge"); exit(1); } -- cgit v1.2.3-55-g6feb