summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsemarie <>2016-04-26 09:37:59 +0000
committersemarie <>2016-04-26 09:37:59 +0000
commit8b9cc79789c88f7a6482fea34e514dd9f208ccd3 (patch)
treeb0e0090486453b80b36db2cec4bf26a29c55fa70 /src
parentbaeeab2cbccd4d08a37d92c62ca5f237ea8e7dc6 (diff)
downloadopenbsd-8b9cc79789c88f7a6482fea34e514dd9f208ccd3.tar.gz
openbsd-8b9cc79789c88f7a6482fea34e514dd9f208ccd3.tar.bz2
openbsd-8b9cc79789c88f7a6482fea34e514dd9f208ccd3.zip
add "dns" to openssl ocsp
problem reported by Alexandre (kAworu) ok beck@ deraadt@ sthen@
Diffstat (limited to 'src')
-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 }