summaryrefslogtreecommitdiffstats
path: root/usr.bin/openssl/openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/openssl/openssl.c')
-rw-r--r--usr.bin/openssl/openssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/openssl/openssl.c b/usr.bin/openssl/openssl.c
index 21a5aa60184..8ac645636a8 100644
--- a/usr.bin/openssl/openssl.c
+++ b/usr.bin/openssl/openssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openssl.c,v 1.14 2015/10/07 05:21:41 deraadt Exp $ */
+/* $OpenBSD: openssl.c,v 1.15 2015/10/09 01:37:08 deraadt Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -436,8 +436,8 @@ main(int argc, char **argv)
arg.data = NULL;
arg.count = 0;
- if (tame("stdio inet rpath cpath wpath proc", NULL) == -1) {
- fprintf(stderr, "openssl: tame: %s\n", strerror(errno));
+ if (pledge("stdio inet rpath cpath wpath proc", NULL) == -1) {
+ fprintf(stderr, "openssl: pledge: %s\n", strerror(errno));
exit(1);
}