From dcd75365d5fdb09812f2575927f0aa34b1952f9e Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 10 Sep 2012 20:32:33 +0000 Subject: No reason to pass a u16bit by reference --- src/tls/tls_policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tls/tls_policy.cpp') 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 || -- cgit v1.2.3