commit | 2fbefde1d825f570b8abd3ea3fc3cdc75294b843 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Sat Jun 29 16:01:15 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sat Jun 29 18:35:40 2013 +0200 |
tree | 4b62f9499fadf853206ca4c3375a83c5fb202de4 | |
parent | 59c28a2723a8d15e0e48cb841c4022fabc64039e [diff] [blame] |
Client and server now filter sent and accepted ciphersuites on minimum and maximum protocol version
diff --git a/library/ssl_tls.c b/library/ssl_tls.c index a19e4da..c6a45d9 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c
@@ -2756,6 +2756,8 @@ ssl->min_major_ver = SSL_MAJOR_VERSION_3; ssl->min_minor_ver = SSL_MINOR_VERSION_0; + ssl->max_major_ver = SSL_MAJOR_VERSION_3; + ssl->max_minor_ver = SSL_MINOR_VERSION_3; ssl_set_ciphersuites( ssl, ssl_list_ciphersuites() );