diff options
author | lloyd <[email protected]> | 2012-09-10 20:32:33 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-10 20:32:33 +0000 |
commit | dcd75365d5fdb09812f2575927f0aa34b1952f9e (patch) | |
tree | 217d6a96a18154b81f6358c46aa174fb2cb0bfdc /src/tls/tls_policy.cpp | |
parent | 8c0160098e9bffa1a124a8951ba1a9c074f5509c (diff) |
No reason to pass a u16bit by reference
Diffstat (limited to 'src/tls/tls_policy.cpp')
-rw-r--r-- | src/tls/tls_policy.cpp | 2 |
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 || |