diff options
| author | joshua <> | 2022-11-11 17:07:39 +0000 |
|---|---|---|
| committer | joshua <> | 2022-11-11 17:07:39 +0000 |
| commit | 273d9e16fc9e481283c2b2302b348e4863e29f28 (patch) | |
| tree | 34334d4d84a0e642e816557dc806adc84e7a2f27 /src/usr.bin/openssl/nseq.c | |
| parent | ca40b252ed3f1431ba1b5799c7114defd5830b95 (diff) | |
| download | openbsd-273d9e16fc9e481283c2b2302b348e4863e29f28.tar.gz openbsd-273d9e16fc9e481283c2b2302b348e4863e29f28.tar.bz2 openbsd-273d9e16fc9e481283c2b2302b348e4863e29f28.zip | |
Remove the legacy interactive mode from openssl(1).
This removes the legacy interactive mode from openssl(1) since it is
rarely used, complicates the code, and has also been removed from
OpenSSL in version 3.x.x.
ok tb@ jsing@
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)); |
