=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/asn1pars.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/openssl/asn1pars.c 2015/10/10 22:28:51 1.5 --- src/usr.bin/openssl/asn1pars.c 2015/10/17 15:00:11 1.6 *************** *** 1,4 **** ! /* $OpenBSD: asn1pars.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: asn1pars.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 248,255 **** ASN1_TYPE *at = NULL; if (single_execution) { ! if (pledge("stdio rpath wpath cpath", NULL) == -1) perror("pledge"); } memset(&asn1pars_config, 0, sizeof(asn1pars_config)); --- 248,257 ---- ASN1_TYPE *at = NULL; if (single_execution) { ! if (pledge("stdio rpath wpath cpath", NULL) == -1) { perror("pledge"); + exit(1); + } } memset(&asn1pars_config, 0, sizeof(asn1pars_config));