From: tb Date: Mon, 29 Mar 2021 18:24:04 +0000 (+0000) Subject: whitespace nits X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=73c18e467fc2304b3734b98382e0575eeea85f81;p=openbsd whitespace nits --- diff --git a/lib/libssl/ssl_asn1.c b/lib/libssl/ssl_asn1.c index 94fc8685fc9..cea2b31f476 100644 --- a/lib/libssl/ssl_asn1.c +++ b/lib/libssl/ssl_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_asn1.c,v 1.57 2018/08/27 16:42:48 jsing Exp $ */ +/* $OpenBSD: ssl_asn1.c,v 1.58 2021/03/29 18:24:04 tb Exp $ */ /* * Copyright (c) 2016 Joel Sing * @@ -331,7 +331,7 @@ d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length) goto err; if (timeout != 0) s->timeout = (long)timeout; - + /* Peer certificate [3]. */ X509_free(s->peer); s->peer = NULL; @@ -383,7 +383,7 @@ d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length) if (!CBS_strdup(&hostname, &s->tlsext_hostname)) goto err; } - + /* PSK identity hint [7]. */ /* PSK identity [8]. */ @@ -421,7 +421,7 @@ d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length) return (s); -err: + err: ERR_asprintf_error_data("offset=%d", (int)(CBS_data(&cbs) - *pp)); if (s != NULL && (a == NULL || *a != s))