summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/s_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/openssl/s_client.c')
-rw-r--r--usr.bin/openssl/s_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/s_client.c b/usr.bin/openssl/s_client.c
index ed7ecfa714a..c73a5fd38f0 100644
--- a/usr.bin/openssl/s_client.c
+++ b/usr.bin/openssl/s_client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s_client.c,v 1.23 2015/10/17 15:00:11 doug Exp $ */
+/* $OpenBSD: s_client.c,v 1.24 2015/11/21 16:03:06 jca Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -365,7 +365,7 @@ s_client_main(int argc, char **argv)
long socket_mtu = 0;
if (single_execution) {
- if (pledge("stdio inet rpath wpath cpath tty", NULL) == -1) {
+ if (pledge("stdio inet rpath wpath cpath tty dns", NULL) == -1) {
perror("pledge");
exit(1);
}