commit | a62729888b9d8eafbfa952fca63a04100ed90f69 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Fri Apr 12 13:13:43 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Apr 12 13:13:43 2013 +0200 |
tree | 26a524589813e1659bd06406f3c18d29e08f8053 | |
parent | d4c5944212912deeb890de08c8aa8410380584c8 [diff] |
Ability to specify allowed ciphersuites based on the protocol version. The ciphersuites parameter in the ssl_session structure changed from 'int *' to 'int **' and is now malloced in ssl_init() and freed in ssl_free(). The new function ssl_set_ciphersuite_for_version() sets specific entries inside this array. ssl_set_ciphersuite() sets all entries to the same value.