=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/certhash.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/openssl/certhash.c 2015/10/02 18:05:07 1.11 --- src/usr.bin/openssl/certhash.c 2015/10/10 22:28:51 1.12 *************** *** 649,654 **** --- 649,659 ---- int argsused; int i, cwdfd, ret = 0; + if (single_execution) { + if (pledge("stdio rpath wpath cpath", NULL) == -1) + perror("pledge"); + } + memset(&certhash_config, 0, sizeof(certhash_config)); if (options_parse(argc, argv, certhash_options, NULL, &argsused) != 0) {