From f91da925b585414ab8e768aa331f37ca2d348e2e Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 28 Apr 2016 17:06:16 +0200 Subject: Export the GetCiphersuite() method from the SSL modules --- include/modules/ssl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/modules') diff --git a/include/modules/ssl.h b/include/modules/ssl.h index adc78e324..9cc504128 100644 --- a/include/modules/ssl.h +++ b/include/modules/ssl.h @@ -198,6 +198,12 @@ class SSLIOHook : public IOHook return cert->GetFingerprint(); return ""; } + + /** + * Get the ciphersuite negotiated with the peer + * @param out String where the ciphersuite string will be appended to + */ + virtual void GetCiphersuite(std::string& out) const = 0; }; /** Helper functions for obtaining SSL client certificates and key fingerprints -- cgit v1.3.1-10-gc9f91