=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/genrsa.c,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/openssl/genrsa.c 2022/10/04 15:31:02 1.20 --- src/usr.bin/openssl/genrsa.c 2022/11/11 17:07:39 1.21 *************** *** 1,4 **** ! /* $OpenBSD: genrsa.c,v 1.20 2022/10/04 15:31:02 espie Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: genrsa.c,v 1.21 2022/11/11 17:07:39 joshua Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 280,290 **** RSA *rsa = NULL; char *rsa_e_hex = NULL, *rsa_e_dec = NULL; ! if (single_execution) { ! if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { ! perror("pledge"); ! exit(1); ! } } if ((bn = BN_new()) == NULL) --- 280,288 ---- RSA *rsa = NULL; char *rsa_e_hex = NULL, *rsa_e_dec = NULL; ! if (pledge("stdio cpath wpath rpath tty", NULL) == -1) { ! perror("pledge"); ! exit(1); } if ((bn = BN_new()) == NULL)