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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c
index 18b8d3e4d9..caa40854ea 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.6 2015/08/19 18:25:31 deraadt Exp $ */ 1/* $OpenBSD: ciphers.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -81,6 +81,11 @@ ciphers_main(int argc, char **argv)
81 int i, rv = 0; 81 int i, rv = 0;
82 char *desc; 82 char *desc;
83 83
84 if (single_execution) {
85 if (pledge("stdio rpath", NULL) == -1)
86 perror("pledge");
87 }
88
84 memset(&ciphers_config, 0, sizeof(ciphers_config)); 89 memset(&ciphers_config, 0, sizeof(ciphers_config));
85 90
86 if (options_parse(argc, argv, ciphers_options, &cipherlist, 91 if (options_parse(argc, argv, ciphers_options, &cipherlist,