commit | 8f4ddaeea9dbde232070817f0d87817cfbddd1c5 | [log] [download] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Apr 15 15:09:54 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Apr 16 18:09:45 2013 +0200 |
tree | 876da55ab19f6eade36c83c944ad55f4410cbef4 | |
parent | eff2e6d4146b72637fbec2ea6b8b800b3f3d9980 [diff] |
Ability to specify allowed ciphersuites based on the protocol version. The ciphersuites parameter in the ssl_session structure changed from 'int *' to 'int *[4]'. The new function ssl_set_ciphersuite_for_version() sets specific entries inside this array. ssl_set_ciphersuite() sets all entries to the same value. (cherry picked from commit a62729888b9d8eafbfa952fca63a04100ed90f69) Conflicts: ChangeLog library/ssl_srv.c library/ssl_tls.c