=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkeyutl.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/openssl/pkeyutl.c 2015/09/11 14:30:23 1.7 --- src/usr.bin/openssl/pkeyutl.c 2015/10/10 22:28:51 1.8 *************** *** 1,4 **** ! /* $OpenBSD: pkeyutl.c,v 1.7 2015/09/11 14:30:23 bcook Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ --- 1,4 ---- ! /* $OpenBSD: pkeyutl.c,v 1.8 2015/10/10 22:28:51 doug Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ *************** *** 99,104 **** --- 99,109 ---- int buf_inlen = 0, siglen = -1; int ret = 1, rv = -1; + + if (single_execution) { + if (pledge("stdio rpath wpath cpath", NULL) == -1) + perror("pledge"); + } argc--; argv++;