summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/pkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/pkey.c')
-rw-r--r--src/usr.bin/openssl/pkey.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/pkey.c b/src/usr.bin/openssl/pkey.c
index 72c03181f6..d1ddf5a929 100644
--- a/src/usr.bin/openssl/pkey.c
+++ b/src/usr.bin/openssl/pkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pkey.c,v 1.5 2015/09/11 14:30:23 bcook Exp $ */ 1/* $OpenBSD: pkey.c,v 1.6 2015/10/10 22:28:51 doug 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 2006 3 * project 2006
4 */ 4 */
@@ -79,6 +79,11 @@ pkey_main(int argc, char **argv)
79 int badarg = 0; 79 int badarg = 0;
80 int ret = 1; 80 int ret = 1;
81 81
82 if (single_execution) {
83 if (pledge("stdio rpath wpath cpath", NULL) == -1)
84 perror("pledge");
85 }
86
82 informat = FORMAT_PEM; 87 informat = FORMAT_PEM;
83 outformat = FORMAT_PEM; 88 outformat = FORMAT_PEM;
84 89