summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_client.c
diff options
context:
space:
mode:
authorjca <>2015-11-21 16:04:20 +0000
committerjca <>2015-11-21 16:04:20 +0000
commit406d0aad6b17be48ad5b3968e0c903c14eb86c0f (patch)
tree0286257c8d6ca7268cf6fb2d26cb09c618942c5b /src/usr.bin/openssl/s_client.c
parent4c0d4a53ef88df5c5aad78236d46974d84a62b2e (diff)
downloadopenbsd-406d0aad6b17be48ad5b3968e0c903c14eb86c0f.tar.gz
openbsd-406d0aad6b17be48ad5b3968e0c903c14eb86c0f.tar.bz2
openbsd-406d0aad6b17be48ad5b3968e0c903c14eb86c0f.zip
In pledge(), put "dns" right after "inet".
Diffstat (limited to 'src/usr.bin/openssl/s_client.c')
-rw-r--r--src/usr.bin/openssl/s_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/s_client.c b/src/usr.bin/openssl/s_client.c
index c73a5fd38f..21454c5bf3 100644
--- a/src/usr.bin/openssl/s_client.c
+++ b/src/usr.bin/openssl/s_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_client.c,v 1.24 2015/11/21 16:03:06 jca Exp $ */ 1/* $OpenBSD: s_client.c,v 1.25 2015/11/21 16:04:20 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 *
@@ -365,7 +365,7 @@ s_client_main(int argc, char **argv)
365 long socket_mtu = 0; 365 long socket_mtu = 0;
366 366
367 if (single_execution) { 367 if (single_execution) {
368 if (pledge("stdio inet rpath wpath cpath tty dns", NULL) == -1) { 368 if (pledge("stdio inet dns rpath wpath cpath tty", NULL) == -1) {
369 perror("pledge"); 369 perror("pledge");
370 exit(1); 370 exit(1);
371 } 371 }