mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 01:05:40 +01:00
Fixed parse error in ssl_parse_certificate_request()
This commit is contained in:
parent
777a5757d6
commit
73d4431ccd
@ -19,6 +19,7 @@ Changes
|
|||||||
|
|
||||||
Bugfix
|
Bugfix
|
||||||
* Fix for MPI assembly for ARM
|
* Fix for MPI assembly for ARM
|
||||||
|
* Fixed parse error in ssl_parse_certificate_request()
|
||||||
|
|
||||||
= Version 1.2.6 released 2013-03-11
|
= Version 1.2.6 released 2013-03-11
|
||||||
Bugfix
|
Bugfix
|
||||||
|
@ -1180,7 +1180,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…
Reference in New Issue
Block a user