summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/ciphers.c
diff options
context:
space:
mode:
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));