diff options
author | lloyd <[email protected]> | 2014-10-30 23:56:02 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-10-30 23:56:02 +0000 |
commit | 71e9b91eea49d53853250e56fcbc42c4ca59dd93 (patch) | |
tree | a04d985dc9721e0b9a3b71229da8b46e06cab44d /src/lib/tls/tls_ciphersuite.h | |
parent | 6c77c2fd9b59ad063a1ef6020ef5976647eab0f9 (diff) |
If the server offers us a SCSV instead of a real ciphersuite send a fatal alert
Diffstat (limited to 'src/lib/tls/tls_ciphersuite.h')
-rw-r--r-- | src/lib/tls/tls_ciphersuite.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/tls/tls_ciphersuite.h b/src/lib/tls/tls_ciphersuite.h index 865e66abb..f6f1f35f8 100644 --- a/src/lib/tls/tls_ciphersuite.h +++ b/src/lib/tls/tls_ciphersuite.h @@ -30,6 +30,11 @@ class BOTAN_DLL Ciphersuite static Ciphersuite by_id(u16bit suite); /** + * Returns true iff this suite is a known SCSV + */ + static bool is_scsv(u16bit suite); + + /** * Lookup a ciphersuite by name * @param name the name (eg TLS_RSA_WITH_RC4_128_SHA) * @return ciphersuite object |