=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkcs8.c,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/openssl/pkcs8.c 2019/07/14 03:30:46 1.14 --- src/usr.bin/openssl/pkcs8.c 2022/11/11 17:07:39 1.15 *************** *** 1,4 **** ! /* $OpenBSD: pkcs8.c,v 1.14 2019/07/14 03:30:46 guenther Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999-2004. */ --- 1,4 ---- ! /* $OpenBSD: pkcs8.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 1999-2004. */ *************** *** 203,213 **** char pass[50], *passin = NULL, *passout = NULL, *p8pass = NULL; int ret = 1; ! if (single_execution) { ! if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { ! perror("pledge"); ! exit(1); ! } } memset(&pkcs8_config, 0, sizeof(pkcs8_config)); --- 203,211 ---- char pass[50], *passin = NULL, *passout = NULL, *p8pass = NULL; int ret = 1; ! if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { ! perror("pledge"); ! exit(1); } memset(&pkcs8_config, 0, sizeof(pkcs8_config));