summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usr.bin/openssl/ocsp.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: ocsp.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */ 1/* $OpenBSD: ocsp.c,v 1.8 2016/04/26 09:37:59 semarie Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -147,7 +147,7 @@ ocsp_main(int argc, char **argv)
147 const char *errstr = NULL; 147 const char *errstr = NULL;
148 148
149 if (single_execution) { 149 if (single_execution) {
150 if (pledge("stdio inet rpath wpath cpath", NULL) == -1) { 150 if (pledge("stdio inet dns rpath wpath cpath", NULL) == -1) {
151 perror("pledge"); 151 perror("pledge");
152 exit(1); 152 exit(1);
153 } 153 }