diff options
Diffstat (limited to 'lib/libssl/ssl_asn1.c')
-rw-r--r-- | lib/libssl/ssl_asn1.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <jsing@openbsd.org> * @@ -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)) |