-/* $OpenBSD: ca.c,v 1.17 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: ca.c,v 1.18 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
DB_ATTR db_attr;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: cms.c,v 1.4 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: cms.c,v 1.5 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
X509_VERIFY_PARAM *vpm = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: dgst.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: dgst.c,v 1.8 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
STACK_OF(OPENSSL_STRING) * sigopts = NULL, *macopts = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: dsa.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: dsa.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
char *passin = NULL, *passout = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: ec.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: ec.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
char *passin = NULL, *passout = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: enc.c,v 1.8 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: enc.c,v 1.9 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int i;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: gendsa.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: gendsa.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
const EVP_CIPHER *enc = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: genpkey.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: genpkey.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
int do_param = 0;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: genrsa.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: genrsa.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
RSA *rsa = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $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.
*
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);
}
-/* $OpenBSD: passwd.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: passwd.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
#if defined OPENSSL_NO_MD5
#define NO_MD5CRYPT_1
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: pkcs12.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: pkcs12.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
char *CApath = NULL, *CAfile = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: pkcs8.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: pkcs8.c,v 1.8 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999-2004.
*/
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: pkey.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: pkey.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: pkeyutl.c,v 1.8 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: pkeyutl.c,v 1.9 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
int ret = 1, rv = -1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: req.c,v 1.10 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: req.c,v 1.11 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
unsigned long chtype = MBSTRING_ASC;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: rsa.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: rsa.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
char *passin = NULL, *passout = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: rsautl.c,v 1.8 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: rsautl.c,v 1.9 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: s_client.c,v 1.21 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: s_client.c,v 1.22 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
long socket_mtu = 0;
if (single_execution) {
- if (pledge("stdio inet rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio inet rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: s_server.c,v 1.20 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: s_server.c,v 1.21 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
tlsextalpnctx alpn_ctx = { NULL, 0 };
if (single_execution) {
- if (pledge("stdio inet rpath", NULL) == -1)
+ if (pledge("stdio inet rpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: smime.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: smime.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
X509_VERIFY_PARAM *vpm = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: spkac.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: spkac.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999. Based on an original idea by Massimiliano Pala
* (madwolf@openca.org).
EVP_PKEY *pkey = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: ts.c,v 1.11 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: ts.c,v 1.12 2015/10/17 07:51:10 semarie Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
int token_out = 0;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}
-/* $OpenBSD: x509.c,v 1.10 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: x509.c,v 1.11 2015/10/17 07:51:10 semarie Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
const char *errstr = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
perror("pledge");
}