=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/smime.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- src/usr.bin/openssl/smime.c 2022/01/16 07:12:28 1.17 +++ src/usr.bin/openssl/smime.c 2022/11/11 17:07:39 1.18 @@ -1,4 +1,4 @@ -/* $OpenBSD: smime.c,v 1.17 2022/01/16 07:12:28 inoguchi Exp $ */ +/* $OpenBSD: smime.c,v 1.18 2022/11/11 17:07:39 joshua Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -722,11 +722,9 @@ int badarg = 0; char *passin = 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(&smime_config, 0, sizeof(smime_config));