mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 11:25:42 +01:00
Fix off-by-one error in point format parsing
This commit is contained in:
parent
87a8ffeaba
commit
fd35af1579
@ -49,6 +49,8 @@ Bugfix
|
|||||||
* Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan).
|
* Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan).
|
||||||
* Use \n\t rather than semicolons for bn_mul asm, since some assemblers
|
* Use \n\t rather than semicolons for bn_mul asm, since some assemblers
|
||||||
interpret semicolons as comment delimiters (found by Barry K. Nathan).
|
interpret semicolons as comment delimiters (found by Barry K. Nathan).
|
||||||
|
* Fix off-by-one error in parsing Supported Point Format extension that
|
||||||
|
caused some handshakes to fail.
|
||||||
|
|
||||||
= PolarSSL 1.3.7 released on 2014-05-02
|
= PolarSSL 1.3.7 released on 2014-05-02
|
||||||
Features
|
Features
|
||||||
|
@ -801,7 +801,7 @@ static int ssl_parse_supported_point_formats_ext( ssl_context *ssl,
|
|||||||
return( POLARSSL_ERR_SSL_BAD_HS_SERVER_HELLO );
|
return( POLARSSL_ERR_SSL_BAD_HS_SERVER_HELLO );
|
||||||
}
|
}
|
||||||
|
|
||||||
p = buf + 2;
|
p = buf + 1;
|
||||||
while( list_size > 0 )
|
while( list_size > 0 )
|
||||||
{
|
{
|
||||||
if( p[0] == POLARSSL_ECP_PF_UNCOMPRESSED ||
|
if( p[0] == POLARSSL_ECP_PF_UNCOMPRESSED ||
|
||||||
|
Loading…
Reference in New Issue
Block a user