summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/ciphers.c
diff options
context:
space:
mode:
authorjoshua <>2022-11-11 17:07:39 +0000
committerjoshua <>2022-11-11 17:07:39 +0000
commitf8749b129444d560b9e645a68ec7b045800243ed (patch)
tree34334d4d84a0e642e816557dc806adc84e7a2f27 /src/usr.bin/openssl/ciphers.c
parentc3cccf93ef7724489b269171de95147b247b7799 (diff)
downloadopenbsd-f8749b129444d560b9e645a68ec7b045800243ed.tar.gz
openbsd-f8749b129444d560b9e645a68ec7b045800243ed.tar.bz2
openbsd-f8749b129444d560b9e645a68ec7b045800243ed.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/ciphers.c')
-rw-r--r--src/usr.bin/openssl/ciphers.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c
index 583db1167b..eb63a35890 100644
--- a/src/usr.bin/openssl/ciphers.c
+++ b/src/usr.bin/openssl/ciphers.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ciphers.c,v 1.15 2022/07/19 20:15:19 tb Exp $ */ 1/* $OpenBSD: ciphers.c,v 1.16 2022/11/11 17:07:38 joshua Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -114,11 +114,9 @@ ciphers_main(int argc, char **argv)
114 int i, rv = 0; 114 int i, rv = 0;
115 char *desc; 115 char *desc;
116 116
117 if (single_execution) { 117 if (pledge("stdio rpath", NULL) == -1) {
118 if (pledge("stdio rpath", NULL) == -1) { 118 perror("pledge");
119 perror("pledge"); 119 exit(1);
120 exit(1);
121 }
122 } 120 }
123 121
124 memset(&ciphers_config, 0, sizeof(ciphers_config)); 122 memset(&ciphers_config, 0, sizeof(ciphers_config));