diff options
Diffstat (limited to 'src/usr.bin/openssl/nseq.c')
-rw-r--r-- | src/usr.bin/openssl/nseq.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/nseq.c b/src/usr.bin/openssl/nseq.c index b73f512aee..15df3ffd40 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.4 2015/08/22 16:36:05 jsing Exp $ */ | 1 | /* $OpenBSD: nseq.c,v 1.5 2015/10/10 22:28:51 doug 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,6 +109,11 @@ 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) { | ||
113 | if (pledge("stdio rpath wpath cpath", NULL) == -1) | ||
114 | perror("pledge"); | ||
115 | } | ||
116 | |||
112 | memset(&nseq_config, 0, sizeof(nseq_config)); | 117 | memset(&nseq_config, 0, sizeof(nseq_config)); |
113 | 118 | ||
114 | if (options_parse(argc, argv, nseq_options, NULL, NULL) != 0) { | 119 | if (options_parse(argc, argv, nseq_options, NULL, NULL) != 0) { |