-/* $OpenBSD: asn1pars.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: asn1pars.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
ASN1_TYPE *at = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&asn1pars_config, 0, sizeof(asn1pars_config));
-/* $OpenBSD: ca.c,v 1.18 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: ca.c,v 1.19 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
conf = NULL;
int i, cwdfd, ret = 0;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&certhash_config, 0, sizeof(certhash_config));
-/* $OpenBSD: ciphers.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: ciphers.c,v 1.8 2015/10/17 15:00:11 doug Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
char *desc;
if (single_execution) {
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&ciphers_config, 0, sizeof(ciphers_config));
-/* $OpenBSD: cms.c,v 1.5 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: cms.c,v 1.6 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
args = argv + 1;
-/* $OpenBSD: crl.c,v 1.8 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: crl.c,v 1.9 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
char *digest_name = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
if (bio_out == NULL) {
-/* $OpenBSD: crl2p7.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: crl2p7.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&crl2p7_config, 0, sizeof(crl2p7_config));
-/* $OpenBSD: dgst.c,v 1.8 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: dgst.c,v 1.9 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
if ((buf = malloc(BUFSIZE)) == NULL) {
-/* $OpenBSD: dh.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: dh.c,v 1.8 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&dh_config, 0, sizeof(dh_config));
-/* $OpenBSD: dhparam.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: dhparam.c,v 1.8 2015/10/17 15:00:11 doug 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", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&dhparam_config, 0, sizeof(dhparam_config));
-/* $OpenBSD: dsa.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: dsa.c,v 1.8 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&dsa_config, 0, sizeof(dsa_config));
-/* $OpenBSD: dsaparam.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: dsaparam.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
char *strbits = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&dsaparam_config, 0, sizeof(dsaparam_config));
-/* $OpenBSD: ec.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: ec.c,v 1.8 2015/10/17 15:00:11 doug Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
char *passin = NULL, *passout = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&ec_config, 0, sizeof(ec_config));
-/* $OpenBSD: ecparam.c,v 1.14 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: ecparam.c,v 1.15 2015/10/17 15:00:11 doug Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
int i, ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&ecparam_config, 0, sizeof(ecparam_config));
-/* $OpenBSD: enc.c,v 1.9 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: enc.c,v 1.10 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int i;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&enc_config, 0, sizeof(enc_config));
-/* $OpenBSD: errstr.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: errstr.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int ret = 0;
if (single_execution) {
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&errstr_config, 0, sizeof(errstr_config));
-/* $OpenBSD: gendh.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: gendh.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
char *strbits = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
BN_GENCB_set(&cb, dh_cb, bio_err);
-/* $OpenBSD: gendsa.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: gendsa.c,v 1.7 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
argv++;
-/* $OpenBSD: genpkey.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: genpkey.c,v 1.8 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
outformat = FORMAT_PEM;
-/* $OpenBSD: genrsa.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: genrsa.c,v 1.8 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
if (!bn)
-/* $OpenBSD: nseq.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: nseq.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
int i, ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&nseq_config, 0, sizeof(nseq_config));
-/* $OpenBSD: ocsp.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: ocsp.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
const char *errstr = NULL;
if (single_execution) {
- if (pledge("stdio inet rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio inet rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
args = argv + 1;
-/* $OpenBSD: passwd.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: passwd.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */
#if defined OPENSSL_NO_MD5
#define NO_MD5CRYPT_1
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&passwd_config, 0, sizeof(passwd_config));
-/* $OpenBSD: pkcs12.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: pkcs12.c,v 1.7 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
cert_pbe = NID_pbe_WithSHA1And40BitRC2_CBC;
-/* $OpenBSD: pkcs7.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: pkcs7.c,v 1.8 2015/10/17 15:00:11 doug 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", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&pkcs7_config, 0, sizeof(pkcs7_config));
-/* $OpenBSD: pkcs8.c,v 1.8 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: pkcs8.c,v 1.9 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&pkcs8_config, 0, sizeof(pkcs8_config));
-/* $OpenBSD: pkey.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: pkey.c,v 1.8 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
informat = FORMAT_PEM;
-/* $OpenBSD: pkeyparam.c,v 1.8 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: pkeyparam.c,v 1.9 2015/10/17 15:00:11 doug 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", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&pkeyparam_config, 0, sizeof(pkeyparam_config));
-/* $OpenBSD: pkeyutl.c,v 1.9 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: pkeyutl.c,v 1.10 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
argc--;
-/* $OpenBSD: prime.c,v 1.9 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: prime.c,v 1.10 2015/10/17 15:00:11 doug Exp $ */
/* ====================================================================
* Copyright (c) 2004 The OpenSSL Project. All rights reserved.
*
int ret = 1;
if (single_execution) {
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&prime_config, 0, sizeof(prime_config));
-/* $OpenBSD: rand.c,v 1.9 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: rand.c,v 1.10 2015/10/17 15:00:11 doug Exp $ */
/* ====================================================================
* Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
*
BIO *out = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&rand_config, 0, sizeof(rand_config));
-/* $OpenBSD: req.c,v 1.11 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: req.c,v 1.12 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
req_conf = NULL;
-/* $OpenBSD: rsa.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: rsa.c,v 1.8 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&rsa_config, 0, sizeof(rsa_config));
-/* $OpenBSD: rsautl.c,v 1.9 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: rsautl.c,v 1.10 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
argc--;
-/* $OpenBSD: s_client.c,v 1.22 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: s_client.c,v 1.23 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio inet rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
meth = SSLv23_client_method();
-/* $OpenBSD: s_server.c,v 1.21 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: s_server.c,v 1.22 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio inet rpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
meth = SSLv23_server_method();
-/* $OpenBSD: s_time.c,v 1.13 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: s_time.c,v 1.14 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int ver;
if (single_execution) {
- if (pledge("stdio inet rpath", NULL) == -1)
+ if (pledge("stdio inet rpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
s_time_meth = SSLv23_client_method();
-/* $OpenBSD: sess_id.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: sess_id.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
BIO *out = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&sess_id_config, 0, sizeof(sess_id_config));
-/* $OpenBSD: smime.c,v 1.6 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: smime.c,v 1.7 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
args = argv + 1;
-/* $OpenBSD: speed.c,v 1.17 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: speed.c,v 1.18 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
const char *errstr = NULL;
if (single_execution) {
- if (pledge("stdio proc", NULL) == -1)
+ if (pledge("stdio proc", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
usertime = -1;
-/* $OpenBSD: spkac.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: spkac.c,v 1.8 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&spkac_config, 0, sizeof(spkac_config));
-/* $OpenBSD: ts.c,v 1.12 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: ts.c,v 1.13 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
for (argc--, argv++; argc > 0; argc--, argv++) {
-/* $OpenBSD: verify.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: verify.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
X509_VERIFY_PARAM *vpm = NULL;
if (single_execution) {
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
cert_ctx = X509_STORE_new();
-/* $OpenBSD: version.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */
+/* $OpenBSD: version.c,v 1.8 2015/10/17 15:00:11 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
version_main(int argc, char **argv)
{
if (single_execution) {
- if (pledge("stdio", NULL) == -1)
+ if (pledge("stdio", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
memset(&version_config, 0, sizeof(version_config));
-/* $OpenBSD: x509.c,v 1.11 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: x509.c,v 1.12 2015/10/17 15:00:11 doug 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 tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
reqfile = 0;