aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-01-04 18:08:41 +0000
committerlloyd <[email protected]>2015-01-04 18:08:41 +0000
commit03ac87feb2e0f9546313cd405ad832046de8e716 (patch)
treeac24e7c34182c9b8e2d8584915c7d231703792bb
parent8fcc2825c5aa7d6c359bba63eb883088a7650c86 (diff)
Remove config used for testing DTLS-SRTP
-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 {