From 660b133d2ddd60402238de2263b92f90608f99f0 Mon Sep 17 00:00:00 2001 From: beck <> Date: Fri, 20 Jan 2017 08:14:55 +0000 Subject: fix pledge for openssl ocsp - we will need tty to ask for a cert pw --- src/usr.bin/openssl/ocsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/ocsp.c b/src/usr.bin/openssl/ocsp.c index 5b5108b390..82ea07aeee 100644 --- a/src/usr.bin/openssl/ocsp.c +++ b/src/usr.bin/openssl/ocsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocsp.c,v 1.9 2017/01/19 07:01:37 beck Exp $ */ +/* $OpenBSD: ocsp.c,v 1.10 2017/01/20 08:14:55 beck Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -147,7 +147,7 @@ ocsp_main(int argc, char **argv) const char *errstr = NULL; if (single_execution) { - if (pledge("stdio inet dns rpath wpath cpath", NULL) == -1) { + if (pledge("stdio inet dns rpath wpath cpath tty", NULL) == -1) { perror("pledge"); exit(1); } -- cgit v1.2.3-55-g6feb