projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f84c8
)
Use correct tag for SRP username.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 25 Oct 2011 12:52:47 +0000
(12:52 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 25 Oct 2011 12:52:47 +0000
(12:52 +0000)
ssl/ssl_asn1.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_asn1.c
b/ssl/ssl_asn1.c
index 9fd3535ca606f9b3c302747afe1607cebd88fd31..38540be1e5380615391037e67a02fe8ae3816641 100644
(file)
--- 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,1
1
);
+ M_ASN1_D2I_get_EXP_opt(osp,d2i_ASN1_OCTET_STRING,1
2
);
if (os.data)
{
ret->srp_username = BUF_strndup((char *)os.data, os.length);