=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkeyparam.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/openssl/pkeyparam.c 2015/10/10 22:28:51 1.8 --- src/usr.bin/openssl/pkeyparam.c 2015/10/17 15:00:11 1.9 *************** *** 1,4 **** ! /* $OpenBSD: pkeyparam.c,v 1.8 2015/10/10 22:28:51 doug Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ --- 1,4 ---- ! /* $OpenBSD: pkeyparam.c,v 1.9 2015/10/17 15:00:11 doug Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ *************** *** 119,126 **** int ret = 1; if (single_execution) { ! if (pledge("stdio rpath wpath cpath", NULL) == -1) perror("pledge"); } memset(&pkeyparam_config, 0, sizeof(pkeyparam_config)); --- 119,128 ---- int ret = 1; if (single_execution) { ! if (pledge("stdio rpath wpath cpath", NULL) == -1) { perror("pledge"); + exit(1); + } } memset(&pkeyparam_config, 0, sizeof(pkeyparam_config));