aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-10-31 11:30:40 +0000
committerlloyd <[email protected]>2014-10-31 11:30:40 +0000
commitaf0cc3c7308d0f5320e82394590b0ca93f43c4d4 (patch)
tree71c24e07a7cfaea3a0ddd90a4a57a763ee45bd3e /src/lib/tls/tls_policy.cpp
parent05d29e973175889685a695d34cf810992497b316 (diff)
No need to pass version by reference
Diffstat (limited to 'src/lib/tls/tls_policy.cpp')
-rw-r--r--src/lib/tls/tls_policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_policy.cpp b/src/lib/tls/tls_policy.cpp
index 602667f05..c4867d81a 100644
--- a/src/lib/tls/tls_policy.cpp
+++ b/src/lib/tls/tls_policy.cpp
@@ -139,7 +139,7 @@ u32bit Policy::session_ticket_lifetime() const
return 86400; // 1 day
}
-bool Policy::send_fallback_scsv(const Protocol_Version& version) const
+bool Policy::send_fallback_scsv(Protocol_Version version) const
{
return version != latest_supported_version(version.is_datagram_protocol());
}