=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/smime.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/openssl/smime.c 2015/10/17 07:51:10 1.6 --- src/usr.bin/openssl/smime.c 2015/10/17 15:00:11 1.7 *************** *** 1,4 **** ! /* $OpenBSD: smime.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ --- 1,4 ---- ! /* $OpenBSD: smime.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ *************** *** 113,120 **** X509_VERIFY_PARAM *vpm = NULL; if (single_execution) { ! if (pledge("stdio rpath wpath cpath tty", NULL) == -1) perror("pledge"); } args = argv + 1; --- 113,122 ---- X509_VERIFY_PARAM *vpm = NULL; if (single_execution) { ! if (pledge("stdio rpath wpath cpath tty", NULL) == -1) { perror("pledge"); + exit(1); + } } args = argv + 1;