=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkcs12.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/openssl/pkcs12.c 2015/09/11 14:30:23 1.4 --- src/usr.bin/openssl/pkcs12.c 2015/10/10 22:28:51 1.5 *************** *** 1,4 **** ! /* $OpenBSD: pkcs12.c,v 1.4 2015/09/11 14:30:23 bcook Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ --- 1,4 ---- ! /* $OpenBSD: pkcs12.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ *************** *** 123,128 **** --- 123,133 ---- char *passin = NULL, *passout = NULL; char *macalg = NULL; char *CApath = NULL, *CAfile = NULL; + + if (single_execution) { + if (pledge("stdio rpath wpath cpath", NULL) == -1) + perror("pledge"); + } cert_pbe = NID_pbe_WithSHA1And40BitRC2_CBC;