diff options
author | Jack Lloyd <[email protected]> | 2018-04-08 20:34:59 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-04-08 20:34:59 -0400 |
commit | 9fd92ffb4e3edd3e52b10409f90f87e0dd023d05 (patch) | |
tree | 08e3f4a2bc1401d541ae64dc619dfb1fc5038411 /src/lib/tls/tls_algos.h | |
parent | e2202e1ee495053827266a00fe5870a1987ae141 (diff) |
Fix interop bug in TLS server
The connection would fail if the client advertised any signature
algorithm we did not support (eg RSA/SHA-224)
Diffstat (limited to 'src/lib/tls/tls_algos.h')
-rw-r--r-- | src/lib/tls/tls_algos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/tls/tls_algos.h b/src/lib/tls/tls_algos.h index e0b2dabc2..19612be2e 100644 --- a/src/lib/tls/tls_algos.h +++ b/src/lib/tls/tls_algos.h @@ -109,6 +109,7 @@ enum class Signature_Scheme : uint16_t { BOTAN_UNSTABLE_API const std::vector<Signature_Scheme>& all_signature_schemes(); +bool signature_scheme_is_known(Signature_Scheme scheme); std::string BOTAN_UNSTABLE_API sig_scheme_to_string(Signature_Scheme scheme); std::string hash_function_of_scheme(Signature_Scheme scheme); std::string padding_string_for_scheme(Signature_Scheme scheme); |