diff options
author | lloyd <[email protected]> | 2012-01-20 16:04:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-20 16:04:08 +0000 |
commit | b9980348ccd1687f44f53532f81c605aa4a1d752 (patch) | |
tree | b4dc2953441827e1d670a886a9d6d6f5c30bf127 /src/libstate | |
parent | 27e2ba976a410d117b651541a42572d5743d41a0 (diff) |
TLS_Ciphersuite_Algos was just a strange level of indirection between
the ciphersuite code and a set of strings specifying the underlying
suite algorithms. Remove it entirely.
Some things are likely broken. One I know about is that we always send
the hash/signature type indicator but should only do so for TLS >= 1.2
Diffstat (limited to 'src/libstate')
-rw-r--r-- | src/libstate/get_enc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstate/get_enc.cpp b/src/libstate/get_enc.cpp index 6b74f8793..67b9ac9df 100644 --- a/src/libstate/get_enc.cpp +++ b/src/libstate/get_enc.cpp @@ -96,7 +96,11 @@ EMSA* get_emsa(const std::string& algo_spec) #if defined(BOTAN_HAS_EMSA1) if(request.algo_name() == "EMSA1" && request.arg_count() == 1) + { + if(request.arg(0) == "Raw") + return new EMSA_Raw; return new EMSA1(af.make_hash_function(request.arg(0))); + } #endif #if defined(BOTAN_HAS_EMSA1_BSI) |