diff options
Diffstat (limited to '')
| -rw-r--r-- | src/usr.bin/openssl/smime.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/smime.c b/src/usr.bin/openssl/smime.c index d981335179..fee7c71e76 100644 --- a/src/usr.bin/openssl/smime.c +++ b/src/usr.bin/openssl/smime.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: smime.c,v 1.4 2015/09/11 14:30:23 bcook Exp $ */ | 1 | /* $OpenBSD: smime.c,v 1.5 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. | 3 | * project. |
| 4 | */ | 4 | */ |
| @@ -112,6 +112,11 @@ smime_main(int argc, char **argv) | |||
| 112 | 112 | ||
| 113 | X509_VERIFY_PARAM *vpm = NULL; | 113 | X509_VERIFY_PARAM *vpm = NULL; |
| 114 | 114 | ||
| 115 | if (single_execution) { | ||
| 116 | if (pledge("stdio rpath wpath cpath", NULL) == -1) | ||
| 117 | perror("pledge"); | ||
| 118 | } | ||
| 119 | |||
| 115 | args = argv + 1; | 120 | args = argv + 1; |
| 116 | ret = 1; | 121 | ret = 1; |
| 117 | 122 | ||
