=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/gendh.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/openssl/gendh.c 2015/10/10 22:28:51 1.6 +++ src/usr.bin/openssl/gendh.c 2015/10/17 15:00:11 1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: gendh.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */ +/* $OpenBSD: gendh.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -135,8 +135,10 @@ char *strbits = NULL; if (single_execution) { - if (pledge("stdio rpath wpath cpath", NULL) == -1) + if (pledge("stdio rpath wpath cpath", NULL) == -1) { perror("pledge"); + exit(1); + } } BN_GENCB_set(&cb, dh_cb, bio_err);