summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjca <>2015-12-01 12:04:51 +0000
committerjca <>2015-12-01 12:04:51 +0000
commitcbbf11ff99cb7267314ad46f33373a969e949054 (patch)
tree98eb32ff749a2fc9ecece12f943d3798dc3a9c96 /src
parent2a1278695fa78debc901cba2f1514ecfdceb5e96 (diff)
downloadopenbsd-cbbf11ff99cb7267314ad46f33373a969e949054.tar.gz
openbsd-cbbf11ff99cb7267314ad46f33373a969e949054.tar.bz2
openbsd-cbbf11ff99cb7267314ad46f33373a969e949054.zip
s_server also needs DNS; reported by tb@
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/s_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/s_server.c b/src/usr.bin/openssl/s_server.c
index a2dd1f0b75..4a5c709fc7 100644
--- a/src/usr.bin/openssl/s_server.c
+++ b/src/usr.bin/openssl/s_server.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_server.c,v 1.22 2015/10/17 15:00:11 doug Exp $ */ 1/* $OpenBSD: s_server.c,v 1.23 2015/12/01 12:04:51 jca Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -605,7 +605,7 @@ s_server_main(int argc, char *argv[])
605 tlsextalpnctx alpn_ctx = { NULL, 0 }; 605 tlsextalpnctx alpn_ctx = { NULL, 0 };
606 606
607 if (single_execution) { 607 if (single_execution) {
608 if (pledge("stdio inet rpath tty", NULL) == -1) { 608 if (pledge("stdio inet dns rpath tty", NULL) == -1) {
609 perror("pledge"); 609 perror("pledge");
610 exit(1); 610 exit(1);
611 } 611 }