=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/rand.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- src/usr.bin/openssl/rand.c 2019/07/14 03:30:46 1.14 +++ src/usr.bin/openssl/rand.c 2022/11/11 17:07:39 1.15 @@ -1,4 +1,4 @@ -/* $OpenBSD: rand.c,v 1.14 2019/07/14 03:30:46 guenther Exp $ */ +/* $OpenBSD: rand.c,v 1.15 2022/11/11 17:07:39 joshua Exp $ */ /* ==================================================================== * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. * @@ -109,11 +109,9 @@ int i, r; BIO *out = NULL; - if (single_execution) { - if (pledge("stdio cpath wpath rpath", NULL) == -1) { - perror("pledge"); - exit(1); - } + if (pledge("stdio cpath wpath rpath", NULL) == -1) { + perror("pledge"); + exit(1); } memset(&rand_config, 0, sizeof(rand_config));