Fixed offset for cert_type list in ssl_parse_certificate_request()
This commit is contained in:
parent
7c3c3899cf
commit
f92263021c
2 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ PolarSSL ChangeLog
|
||||||
Bugfix
|
Bugfix
|
||||||
* Secure renegotiation extension should only be sent in case client
|
* Secure renegotiation extension should only be sent in case client
|
||||||
supports secure renegotiation
|
supports secure renegotiation
|
||||||
|
* Fixed offset for cert_type list in ssl_parse_certificate_request()
|
||||||
|
|
||||||
= Version 1.2.7 released 2013-04-13
|
= Version 1.2.7 released 2013-04-13
|
||||||
Features
|
Features
|
||||||
|
|
|
@ -951,7 +951,7 @@ static int ssl_parse_certificate_request( ssl_context *ssl )
|
||||||
return( POLARSSL_ERR_SSL_BAD_HS_CERTIFICATE_REQUEST );
|
return( POLARSSL_ERR_SSL_BAD_HS_CERTIFICATE_REQUEST );
|
||||||
}
|
}
|
||||||
|
|
||||||
p = buf + 4;
|
p = buf + 5;
|
||||||
while( cert_type_len > 0 )
|
while( cert_type_len > 0 )
|
||||||
{
|
{
|
||||||
if( *p == SSL_CERT_TYPE_RSA_SIGN )
|
if( *p == SSL_CERT_TYPE_RSA_SIGN )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue