summaryrefslogtreecommitdiff
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/openssl.c b/usr.bin/openssl/openssl.c
index 43f0e9189c3..374bcd27d0a 100644
--- a/usr.bin/openssl/openssl.c
+++ b/usr.bin/openssl/openssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openssl.c,v 1.18 2015/10/16 13:37:44 millert Exp $ */
+/* $OpenBSD: openssl.c,v 1.19 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -438,7 +438,7 @@ main(int argc, char **argv)
arg.data = NULL;
arg.count = 0;
- if (pledge("stdio inet rpath wpath cpath proc flock", NULL) == -1) {
+ if (pledge("stdio inet rpath wpath cpath proc flock tty", NULL) == -1) {
fprintf(stderr, "openssl: pledge: %s\n", strerror(errno));
exit(1);
}