diff options
Diffstat (limited to '')
| -rw-r--r-- | src/usr.bin/openssl/certhash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/certhash.c b/src/usr.bin/openssl/certhash.c index bd0ac54ecf..70aa7b9931 100644 --- a/src/usr.bin/openssl/certhash.c +++ b/src/usr.bin/openssl/certhash.c | |||
| @@ -650,8 +650,10 @@ certhash_main(int argc, char **argv) | |||
| 650 | int i, cwdfd, ret = 0; | 650 | int i, cwdfd, ret = 0; |
| 651 | 651 | ||
| 652 | if (single_execution) { | 652 | if (single_execution) { |
| 653 | if (pledge("stdio rpath wpath cpath", NULL) == -1) | 653 | if (pledge("stdio rpath wpath cpath", NULL) == -1) { |
| 654 | perror("pledge"); | 654 | perror("pledge"); |
| 655 | exit(1); | ||
| 656 | } | ||
| 655 | } | 657 | } |
| 656 | 658 | ||
| 657 | memset(&certhash_config, 0, sizeof(certhash_config)); | 659 | memset(&certhash_config, 0, sizeof(certhash_config)); |
