diff options
author | joshua <joshua@cvs.openbsd.org> | 2022-11-11 17:07:40 +0000 |
---|---|---|
committer | joshua <joshua@cvs.openbsd.org> | 2022-11-11 17:07:40 +0000 |
commit | e4233d2a4ba6d8c82f291d1c36b4e804e3680e65 (patch) | |
tree | d8e369afb9be0a8908c1542e1a26b1da0619221c /usr.bin/openssl/ca.c | |
parent | 6798bfab3a8dc34b3accd377fce0ef973ffa63a7 (diff) |
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 'usr.bin/openssl/ca.c')
-rw-r--r-- | usr.bin/openssl/ca.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/openssl/ca.c b/usr.bin/openssl/ca.c index bbc5403e3c9..e13354f4aff 100644 --- a/usr.bin/openssl/ca.c +++ b/usr.bin/openssl/ca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ca.c,v 1.53 2022/02/03 17:44:04 tb Exp $ */ +/* $OpenBSD: ca.c,v 1.54 2022/11/11 17:07:38 joshua Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -685,11 +685,9 @@ ca_main(int argc, char **argv) char *tofree = NULL; DB_ATTR db_attr; - if (single_execution) { - if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { - perror("pledge"); - exit(1); - } + if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { + perror("pledge"); + exit(1); } memset(&ca_config, 0, sizeof(ca_config)); |