=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/ca.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/openssl/ca.c 2015/09/21 13:31:26 1.16 --- src/usr.bin/openssl/ca.c 2015/10/10 22:28:51 1.17 *************** *** 1,4 **** ! /* $OpenBSD: ca.c,v 1.16 2015/09/21 13:31:26 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: ca.c,v 1.17 2015/10/10 22:28:51 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 285,290 **** --- 285,295 ---- char *tofree = NULL; const char *errstr = NULL; DB_ATTR db_attr; + + if (single_execution) { + if (pledge("stdio rpath wpath cpath", NULL) == -1) + perror("pledge"); + } conf = NULL; key = NULL;