=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkcs12.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/openssl/pkcs12.c 2015/10/17 07:51:10 1.6 +++ src/usr.bin/openssl/pkcs12.c 2015/10/17 15:00:11 1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: pkcs12.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */ +/* $OpenBSD: pkcs12.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. */ @@ -125,8 +125,10 @@ char *CApath = NULL, *CAfile = NULL; if (single_execution) { - if (pledge("stdio rpath wpath cpath tty", NULL) == -1) + if (pledge("stdio rpath wpath cpath tty", NULL) == -1) { perror("pledge"); + exit(1); + } } cert_pbe = NID_pbe_WithSHA1And40BitRC2_CBC;