Fixed parse error in ssl_parse_certificate_request()

This commit is contained in:
Paul Bakker 2013-05-22 13:56:26 +02:00
parent 777a5757d6
commit 73d4431ccd
2 changed files with 2 additions and 1 deletions

View file

@ -1180,7 +1180,7 @@ static int ssl_parse_certificate_request( ssl_context *ssl )
return( POLARSSL_ERR_SSL_BAD_HS_CERTIFICATE_REQUEST );
}
p = buf + 4;
p = buf + 5;
while( cert_type_len > 0 )
{
if( *p == SSL_CERT_TYPE_RSA_SIGN )