=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/dh.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/openssl/dh.c 2022/01/14 09:21:54 1.13 --- src/usr.bin/openssl/dh.c 2022/11/11 17:07:38 1.14 *************** *** 1,4 **** ! /* $OpenBSD: dh.c,v 1.13 2022/01/14 09:21:54 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: dh.c,v 1.14 2022/11/11 17:07:38 joshua Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 158,168 **** BIO *in = NULL, *out = NULL; int ret = 1; ! if (single_execution) { ! if (pledge("stdio cpath wpath rpath", NULL) == -1) { ! perror("pledge"); ! exit(1); ! } } memset(&dh_config, 0, sizeof(dh_config)); --- 158,166 ---- BIO *in = NULL, *out = NULL; int ret = 1; ! if (pledge("stdio cpath wpath rpath", NULL) == -1) { ! perror("pledge"); ! exit(1); } memset(&dh_config, 0, sizeof(dh_config));