diff options
author | lloyd <[email protected]> | 2012-06-18 18:42:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-06-18 18:42:43 +0000 |
commit | a5f0bd2f1a1e80aa4c2f4f1f87c2413f6ac12726 (patch) | |
tree | daa35a2644dc3c7ceef085bc67a37aa99c570162 /src/math/mp/mp_karat.cpp | |
parent | e24b7da5545a3d8766c85759a2974a93795436e3 (diff) |
Make TLS::Channel::send non-virtual as neither Client nor Server
needed to derive from it. Add a new overload of send taking a
std::string for convenience (eg client.send("GET / HTTP/1.0\n\r")).
Let Channel::renegotiatate's force_full_renegotiation argument default
to false.
Fix a bug where if we negotiated TLS v1.2 and our Policy was
configured to only use MD5 we would send an empty allowed signatures
which is maybe bogus or maybe just ambigious (RFC is unclear, though
we reject in this case). To fix this, support putting MD5 in the
signature algorithms extension, and then in choose_sig_format order
first by our hash preference, and only allow hashes that are allowed
by policy. Thus is a client claims to support both SHA-2 and MD5 we'll
choose SHA-2 even if the client put MD5 first (some versions of GnuTLS
ordered the list backwards due to a bug, so this is actually a useful
behavior).
Diffstat (limited to 'src/math/mp/mp_karat.cpp')
0 files changed, 0 insertions, 0 deletions