From 45906fe63b350d4271d70771c85fb9a12dd82aa5 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 25 Oct 2011 12:51:22 +0000 Subject: [PATCH] Use correct tag for SRP username. --- ssl/ssl_asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c index 8fa8c669b1..d8415b8806 100644 --- a/ssl/ssl_asn1.c +++ b/ssl/ssl_asn1.c @@ -627,7 +627,7 @@ SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, #ifndef OPENSSL_NO_SRP os.length=0; os.data=NULL; - M_ASN1_D2I_get_EXP_opt(osp,d2i_ASN1_OCTET_STRING,11); + M_ASN1_D2I_get_EXP_opt(osp,d2i_ASN1_OCTET_STRING,12); if (os.data) { ret->srp_username = BUF_strndup((char *)os.data, os.length); -- 2.25.1