diff options
Diffstat (limited to 'src/usr.bin/openssl/rsautl.c')
-rw-r--r-- | src/usr.bin/openssl/rsautl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/rsautl.c b/src/usr.bin/openssl/rsautl.c index 2e9793297b..92dceff8a1 100644 --- a/src/usr.bin/openssl/rsautl.c +++ b/src/usr.bin/openssl/rsautl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsautl.c,v 1.7 2015/09/11 14:30:23 bcook Exp $ */ | 1 | /* $OpenBSD: rsautl.c,v 1.8 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 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -98,6 +98,11 @@ rsautl_main(int argc, char **argv) | |||
98 | 98 | ||
99 | int ret = 1; | 99 | int ret = 1; |
100 | 100 | ||
101 | if (single_execution) { | ||
102 | if (pledge("stdio rpath wpath cpath", NULL) == -1) | ||
103 | perror("pledge"); | ||
104 | } | ||
105 | |||
101 | argc--; | 106 | argc--; |
102 | argv++; | 107 | argv++; |
103 | 108 | ||