aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_version.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-02 18:29:37 +0000
committerlloyd <[email protected]>2012-08-02 18:29:37 +0000
commit3afca900a272114ab6d4b1c12ddbc2c2ce6cbf3b (patch)
tree32dd3ae6a1e69ff70baa270dd93615e8ae97c48b /src/tls/tls_version.cpp
parent8945ad6c6647dccce403e0093e0f134537e2d3f4 (diff)
Add TLS::Protocol_Version::supports_ciphersuite_specific_prf
Diffstat (limited to 'src/tls/tls_version.cpp')
-rw-r--r--src/tls/tls_version.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tls/tls_version.cpp b/src/tls/tls_version.cpp
index f451da70e..32a408830 100644
--- a/src/tls/tls_version.cpp
+++ b/src/tls/tls_version.cpp
@@ -80,6 +80,12 @@ bool Protocol_Version::supports_explicit_cbc_ivs() const
m_version == Protocol_Version::DTLS_V12);
}
+bool Protocol_Version::supports_ciphersuite_specific_prf() const
+ {
+ return (m_version == Protocol_Version::TLS_V12 ||
+ m_version == Protocol_Version::DTLS_V12);
+ }
+
}
}