diff options
author | jca <> | 2015-11-21 16:04:20 +0000 |
---|---|---|
committer | jca <> | 2015-11-21 16:04:20 +0000 |
commit | 406d0aad6b17be48ad5b3968e0c903c14eb86c0f (patch) | |
tree | 0286257c8d6ca7268cf6fb2d26cb09c618942c5b /src/usr.bin/openssl/openssl.c | |
parent | 4c0d4a53ef88df5c5aad78236d46974d84a62b2e (diff) | |
download | openbsd-406d0aad6b17be48ad5b3968e0c903c14eb86c0f.tar.gz openbsd-406d0aad6b17be48ad5b3968e0c903c14eb86c0f.tar.bz2 openbsd-406d0aad6b17be48ad5b3968e0c903c14eb86c0f.zip |
In pledge(), put "dns" right after "inet".
Diffstat (limited to 'src/usr.bin/openssl/openssl.c')
-rw-r--r-- | src/usr.bin/openssl/openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index f99c625260..e8c75daf0a 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: openssl.c,v 1.20 2015/11/21 16:03:06 jca Exp $ */ | 1 | /* $OpenBSD: openssl.c,v 1.21 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 | * |
@@ -438,7 +438,7 @@ main(int argc, char **argv) | |||
438 | arg.data = NULL; | 438 | arg.data = NULL; |
439 | arg.count = 0; | 439 | arg.count = 0; |
440 | 440 | ||
441 | if (pledge("stdio inet rpath wpath cpath proc flock tty dns", NULL) == -1) { | 441 | if (pledge("stdio inet dns rpath wpath cpath proc flock tty", NULL) == -1) { |
442 | fprintf(stderr, "openssl: pledge: %s\n", strerror(errno)); | 442 | fprintf(stderr, "openssl: pledge: %s\n", strerror(errno)); |
443 | exit(1); | 443 | exit(1); |
444 | } | 444 | } |