diff options
| author | jca <> | 2015-12-01 12:04:51 +0000 |
|---|---|---|
| committer | jca <> | 2015-12-01 12:04:51 +0000 |
| commit | 897ac3386e31a0c901526a96329c6e44062dfd49 (patch) | |
| tree | 98eb32ff749a2fc9ecece12f943d3798dc3a9c96 | |
| parent | e5d04642ef5b6b849e9c6a6954761da075df3bfa (diff) | |
| download | openbsd-897ac3386e31a0c901526a96329c6e44062dfd49.tar.gz openbsd-897ac3386e31a0c901526a96329c6e44062dfd49.tar.bz2 openbsd-897ac3386e31a0c901526a96329c6e44062dfd49.zip | |
s_server also needs DNS; reported by tb@
Diffstat (limited to '')
| -rw-r--r-- | src/usr.bin/openssl/s_server.c | 4 |
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 | } |
