=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/ecparam.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/openssl/ecparam.c 2015/09/11 14:30:23 1.13 --- src/usr.bin/openssl/ecparam.c 2015/10/10 22:28:51 1.14 *************** *** 1,4 **** ! /* $OpenBSD: ecparam.c,v 1.13 2015/09/11 14:30:23 bcook Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ --- 1,4 ---- ! /* $OpenBSD: ecparam.c,v 1.14 2015/10/10 22:28:51 doug Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ *************** *** 258,263 **** --- 258,268 ---- unsigned char *buffer = NULL; BIO *in = NULL, *out = NULL; int i, ret = 1; + + if (single_execution) { + if (pledge("stdio rpath wpath cpath", NULL) == -1) + perror("pledge"); + } memset(&ecparam_config, 0, sizeof(ecparam_config)); ecparam_config.asn1_flag = OPENSSL_EC_NAMED_CURVE;