mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 12:35:40 +01:00
Handle future version properly in ssl_write_certificate_request()
This commit is contained in:
parent
58ef6ec613
commit
21dca69ef0
@ -3,6 +3,7 @@ PolarSSL ChangeLog
|
||||
= Version Master
|
||||
Bugfix
|
||||
* Memory leak when using RSA_PKCS_V21 operations fixed
|
||||
* Handle future version properly in ssl_write_certificate_request()
|
||||
|
||||
= Version 1.2.3 released 2012-11-26
|
||||
Bugfix
|
||||
|
@ -731,7 +731,7 @@ static int ssl_write_certificate_request( ssl_context *ssl )
|
||||
*
|
||||
* Length is always 2
|
||||
*/
|
||||
if( ssl->max_minor_ver == SSL_MINOR_VERSION_3 )
|
||||
if( ssl->minor_ver == SSL_MINOR_VERSION_3 )
|
||||
{
|
||||
ssl->handshake->verify_sig_alg = SSL_HASH_SHA256;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user