diff options
Diffstat (limited to 'src/usr.bin/openssl/nseq.c')
| -rw-r--r-- | src/usr.bin/openssl/nseq.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/usr.bin/openssl/nseq.c b/src/usr.bin/openssl/nseq.c index 516bde34d2..7be116e67b 100644 --- a/src/usr.bin/openssl/nseq.c +++ b/src/usr.bin/openssl/nseq.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: nseq.c,v 1.9 2019/07/14 03:30:46 guenther Exp $ */ | 1 | /* $OpenBSD: nseq.c,v 1.10 2022/11/11 17:07:39 joshua Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -109,11 +109,9 @@ nseq_main(int argc, char **argv) | |||
| 109 | NETSCAPE_CERT_SEQUENCE *seq = NULL; | 109 | NETSCAPE_CERT_SEQUENCE *seq = NULL; |
| 110 | int i, ret = 1; | 110 | int i, ret = 1; |
| 111 | 111 | ||
| 112 | if (single_execution) { | 112 | if (pledge("stdio cpath wpath rpath", NULL) == -1) { |
| 113 | if (pledge("stdio cpath wpath rpath", NULL) == -1) { | 113 | perror("pledge"); |
| 114 | perror("pledge"); | 114 | exit(1); |
| 115 | exit(1); | ||
| 116 | } | ||
| 117 | } | 115 | } |
| 118 | 116 | ||
| 119 | memset(&nseq_config, 0, sizeof(nseq_config)); | 117 | memset(&nseq_config, 0, sizeof(nseq_config)); |
