=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/openssl.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/openssl/openssl.c 2015/09/21 13:13:06 1.13 --- src/usr.bin/openssl/openssl.c 2015/10/07 05:21:41 1.14 *************** *** 1,4 **** ! /* $OpenBSD: openssl.c,v 1.13 2015/09/21 13:13:06 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: openssl.c,v 1.14 2015/10/07 05:21:41 deraadt Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 114,119 **** --- 114,120 ---- #include #include #include + #include #include "apps.h" *************** *** 434,439 **** --- 435,445 ---- arg.data = NULL; arg.count = 0; + + if (tame("stdio inet rpath cpath wpath proc", NULL) == -1) { + fprintf(stderr, "openssl: tame: %s\n", strerror(errno)); + exit(1); + } bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); if (bio_err == NULL) {