aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_policy.cpp')
-rw-r--r--src/lib/tls/tls_policy.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/tls/tls_policy.cpp b/src/lib/tls/tls_policy.cpp
index 66b6490f0..39ac25940 100644
--- a/src/lib/tls/tls_policy.cpp
+++ b/src/lib/tls/tls_policy.cpp
@@ -148,7 +148,7 @@ bool Policy::send_fallback_scsv(Protocol_Version version) const
bool Policy::acceptable_protocol_version(Protocol_Version version) const
{
if(version.is_datagram_protocol())
- return (version >= Protocol_Version::DTLS_V10);
+ return (version >= Protocol_Version::DTLS_V12);
else
return (version >= Protocol_Version::TLS_V10);
}
@@ -178,8 +178,7 @@ bool Policy::allow_server_initiated_renegotiation() const
std::vector<u16bit> Policy::srtp_profiles() const
{
- //return std::vector<u16bit>();
- return std::vector<u16bit>{1};
+ return std::vector<u16bit>();
}
namespace {