Handle future version properly in ssl_write_certificate_request()

This commit is contained in:
Paul Bakker 2013-01-03 11:41:08 +01:00
parent 58ef6ec613
commit 21dca69ef0
2 changed files with 2 additions and 1 deletions

View file

@ -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;