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