From 993d11dd05fd810eb6cd469819e75e5eb944ff03 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Fri, 28 Sep 2012 15:00:12 +0000 Subject: [PATCH] - Send ClientHello with 'minimal version' --- library/ssl_cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 4c49639af..27fc0dc5b 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c @@ -52,8 +52,8 @@ static int ssl_write_client_hello( ssl_context *ssl ) if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE ) { - ssl->major_ver = SSL_MAJOR_VERSION_3; - ssl->minor_ver = SSL_MINOR_VERSION_0; + ssl->major_ver = ssl->min_major_ver; + ssl->minor_ver = ssl->min_minor_ver; } if( ssl->max_major_ver == 0 && ssl->max_minor_ver == 0 )