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
commit3a7cb311da95ed70f5c85d9c9b67c9a37b449fa5 (patch)
treeb0e0090486453b80b36db2cec4bf26a29c55fa70 /src
parentcba9688121bd9625551d439dc616413d95405943 (diff)
downloadopenbsd-3a7cb311da95ed70f5c85d9c9b67c9a37b449fa5.tar.gz
openbsd-3a7cb311da95ed70f5c85d9c9b67c9a37b449fa5.tar.bz2
openbsd-3a7cb311da95ed70f5c85d9c9b67c9a37b449fa5.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 }