=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/x509.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/openssl/x509.c 2015/10/17 07:51:10 1.11 --- src/usr.bin/openssl/x509.c 2015/10/17 15:00:11 1.12 *************** *** 1,4 **** ! /* $OpenBSD: x509.c,v 1.11 2015/10/17 07:51:10 semarie Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: x509.c,v 1.12 2015/10/17 15:00:11 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 199,206 **** const char *errstr = NULL; if (single_execution) { ! if (pledge("stdio rpath wpath cpath tty", NULL) == -1) perror("pledge"); } reqfile = 0; --- 199,208 ---- const char *errstr = NULL; if (single_execution) { ! if (pledge("stdio rpath wpath cpath tty", NULL) == -1) { perror("pledge"); + exit(1); + } } reqfile = 0;