=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkeyparam.c,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/openssl/pkeyparam.c 2022/01/14 10:17:30 1.14 --- src/usr.bin/openssl/pkeyparam.c 2022/11/11 17:07:39 1.15 *************** *** 1,4 **** ! /* $OpenBSD: pkeyparam.c,v 1.14 2022/01/14 10:17:30 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ --- 1,4 ---- ! /* $OpenBSD: pkeyparam.c,v 1.15 2022/11/11 17:07:39 joshua Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006 */ *************** *** 125,135 **** EVP_PKEY *pkey = NULL; int ret = 1; ! if (single_execution) { ! if (pledge("stdio cpath wpath rpath", NULL) == -1) { ! perror("pledge"); ! exit(1); ! } } memset(&pkeyparam_config, 0, sizeof(pkeyparam_config)); --- 125,133 ---- EVP_PKEY *pkey = NULL; int ret = 1; ! if (pledge("stdio cpath wpath rpath", NULL) == -1) { ! perror("pledge"); ! exit(1); } memset(&pkeyparam_config, 0, sizeof(pkeyparam_config));