diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-10-25 12:52:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-10-25 12:52:47 +0000 |
commit | 1f713e010658a65101b0d36304ceaba532b412a3 (patch) | |
tree | 0e3b01f2a99e416193ba9ed34316550dc0bc1ac5 | |
parent | 03f84c826056529dc3a093c810091c17e68d4557 (diff) |
Use correct tag for SRP username.
-rw-r--r-- | ssl/ssl_asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c index 9fd3535ca6..38540be1e5 100644 --- a/ssl/ssl_asn1.c +++ b/ssl/ssl_asn1.c @@ -626,7 +626,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); |