aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_policy.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-09-10 20:32:33 +0000
committerlloyd <[email protected]>2012-09-10 20:32:33 +0000
commitdcd75365d5fdb09812f2575927f0aa34b1952f9e (patch)
tree217d6a96a18154b81f6358c46aa174fb2cb0bfdc /src/tls/tls_policy.cpp
parent8c0160098e9bffa1a124a8951ba1a9c074f5509c (diff)
No reason to pass a u16bit by reference
Diffstat (limited to 'src/tls/tls_policy.cpp')
-rw-r--r--src/tls/tls_policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_policy.cpp b/src/tls/tls_policy.cpp
index 3b856f842..b26bd4225 100644
--- a/src/tls/tls_policy.cpp
+++ b/src/tls/tls_policy.cpp
@@ -128,7 +128,7 @@ u32bit Policy::session_ticket_lifetime() const
return 86400; // 1 day
}
-bool Policy::acceptable_protocol_version(const Protocol_Version& version) const
+bool Policy::acceptable_protocol_version(Protocol_Version version) const
{
return (version == Protocol_Version::SSL_V3 ||
version == Protocol_Version::TLS_V10 ||