=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkeyutl.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -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 +1,4 @@ -/* $OpenBSD: pkeyutl.c,v 1.7 2015/09/11 14:30:23 bcook Exp $ */ +/* $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,6 +99,11 @@ 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++;