diff options
author | lloyd <[email protected]> | 2012-09-09 22:29:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-09 22:29:46 +0000 |
commit | ffcfecb2d2ffce1d700806a2fe71932e753493c4 (patch) | |
tree | 75456dc4efebc5197b028b35d0f35b10ecd8891b /src | |
parent | da0020cfbf04fa96ac8111c36c4484480823f1c8 (diff) |
Consider DTLS v1.0 and v1.2 known
Diffstat (limited to 'src')
-rw-r--r-- | src/tls/tls_version.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tls/tls_version.cpp b/src/tls/tls_version.cpp index ac4dadc43..9f972033b 100644 --- a/src/tls/tls_version.cpp +++ b/src/tls/tls_version.cpp @@ -62,11 +62,12 @@ Protocol_Version Protocol_Version::best_known_match() const bool Protocol_Version::known_version() const { - // Don't include DTLS yet here as we can't actually process it return (m_version == Protocol_Version::SSL_V3 || m_version == Protocol_Version::TLS_V10 || m_version == Protocol_Version::TLS_V11 || - m_version == Protocol_Version::TLS_V12); + m_version == Protocol_Version::TLS_V12 || + m_version == Protocol_Version::DTLS_V10 || + m_version == Protocol_Version::DTLS_V12); } bool Protocol_Version::supports_negotiable_signature_algorithms() const |