From 8b26a12dbe124fea0169712974ac2d8468e92dd9 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 7 Feb 2018 05:47:55 +0000 Subject: Indent labels with a single space so that diff prototypes are more useful. --- src/usr.bin/openssl/ocsp.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/usr.bin/openssl/ocsp.c') diff --git a/src/usr.bin/openssl/ocsp.c b/src/usr.bin/openssl/ocsp.c index ad657b8a66..60a53f0ca5 100644 --- a/src/usr.bin/openssl/ocsp.c +++ b/src/usr.bin/openssl/ocsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocsp.c,v 1.13 2017/11/29 23:47:18 guenther Exp $ */ +/* $OpenBSD: ocsp.c,v 1.14 2018/02/07 05:47:55 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -732,7 +732,7 @@ done_resp: ret = 0; -end: + end: ERR_print_errors(bio_err); X509_free(signer); X509_STORE_free(store); @@ -783,7 +783,7 @@ add_ocsp_cert(OCSP_REQUEST ** req, X509 * cert, const EVP_MD * cert_id_md, X509 goto err; return 1; -err: + err: BIO_printf(bio_err, "Error Creating OCSP request\n"); return 0; } @@ -819,7 +819,7 @@ add_ocsp_serial(OCSP_REQUEST ** req, char *serial, const EVP_MD * cert_id_md, X5 goto err; return 1; -err: + err: BIO_printf(bio_err, "Error Creating OCSP request\n"); return 0; } @@ -977,7 +977,7 @@ make_ocsp_response(OCSP_RESPONSE ** resp, OCSP_REQUEST * req, CA_DB * db, *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_SUCCESSFUL, bs); -end: + end: ASN1_TIME_free(thisupd); ASN1_TIME_free(nextupd); OCSP_CERTID_free(ca_id); @@ -1030,7 +1030,7 @@ init_responder(char *port) } return acbio; -err: + err: BIO_free_all(acbio); BIO_free(bufbio); return NULL; @@ -1173,7 +1173,7 @@ query_responder(BIO * err, BIO * cbio, char *path, break; } } -err: + err: if (ctx) OCSP_REQ_CTX_free(ctx); @@ -1210,7 +1210,7 @@ process_responder(BIO * err, OCSP_REQUEST * req, resp = query_responder(err, cbio, path, headers, req, req_timeout); if (!resp) BIO_printf(bio_err, "Error querying OCSP responder\n"); -end: + end: if (cbio) BIO_free_all(cbio); if (ctx) -- cgit v1.2.3-55-g6feb