aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_policy.h')
-rw-r--r--src/tls/tls_policy.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tls/tls_policy.h b/src/tls/tls_policy.h
index 7176f7fd5..7d3788b2e 100644
--- a/src/tls/tls_policy.h
+++ b/src/tls/tls_policy.h
@@ -133,16 +133,16 @@ class BOTAN_DLL Policy
*/
virtual bool server_uses_own_ciphersuite_preferences() const;
+
+ /**
+ * Return allowed ciphersuites, in order of preference
+ */
+ virtual std::vector<u16bit> ciphersuite_list(Protocol_Version version,
+ bool have_srp) const;
+
virtual ~Policy() {}
};
-/**
-* Return allowed ciphersuites, in order of preference
-*/
-std::vector<u16bit> ciphersuite_list(const Policy& policy,
- Protocol_Version version,
- bool have_srp);
-
}
}