=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/req.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/openssl/req.c 2015/10/17 07:51:10 1.11 --- src/usr.bin/openssl/req.c 2015/10/17 15:00:11 1.12 *************** *** 1,4 **** ! /* $OpenBSD: req.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: req.c,v 1.12 2015/10/17 15:00:11 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 177,184 **** unsigned long chtype = MBSTRING_ASC; if (single_execution) { ! if (pledge("stdio rpath wpath cpath tty", NULL) == -1) perror("pledge"); } req_conf = NULL; --- 177,186 ---- unsigned long chtype = MBSTRING_ASC; if (single_execution) { ! if (pledge("stdio rpath wpath cpath tty", NULL) == -1) { perror("pledge"); + exit(1); + } } req_conf = NULL;