=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/pkcs12.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- src/usr.bin/openssl/pkcs12.c 2022/09/14 16:31:36 1.23 +++ src/usr.bin/openssl/pkcs12.c 2022/11/11 17:07:39 1.24 @@ -1,4 +1,4 @@ -/* $OpenBSD: pkcs12.c,v 1.23 2022/09/14 16:31:36 tb Exp $ */ +/* $OpenBSD: pkcs12.c,v 1.24 2022/11/11 17:07:39 joshua Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -536,11 +536,9 @@ char *cpass = NULL, *mpass = NULL; char *passin = NULL, *passout = NULL; - if (single_execution) { - if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { - perror("pledge"); - exit(1); - } + if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { + perror("pledge"); + exit(1); } memset(&pkcs12_config, 0, sizeof(pkcs12_config));