summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2018-03-09 15:40:22 (GMT)
committerTobias Markmann <tm@ayena.de>2018-03-12 09:43:10 (GMT)
commit863c72980c9c25c81ef8864b310e1fd9cb9a57df (patch)
treecaf4a4cdd801f4a8d39062757f6985292884a376 /Swiften/TLS/OpenSSL/OpenSSLContextFactory.h
parentff600776577ce4e3bbf9aa66f5980bc9cf1042a0 (diff)
downloadswift-863c72980c9c25c81ef8864b310e1fd9cb9a57df.zip
swift-863c72980c9c25c81ef8864b310e1fd9cb9a57df.tar.bz2
Ability to set Diffie-Hellman parameters for OpenSSLContext
Test-Information: Unit tests pass on macOS 10.13.3 with ASAN and Clang 7.0. Change-Id: Ifc2bf2c1b63fca7f3ee43ef61c79a96b8e5ced5f
Diffstat (limited to 'Swiften/TLS/OpenSSL/OpenSSLContextFactory.h')
-rw-r--r--Swiften/TLS/OpenSSL/OpenSSLContextFactory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/TLS/OpenSSL/OpenSSLContextFactory.h b/Swiften/TLS/OpenSSL/OpenSSLContextFactory.h
index 63fc17e..db7fa34 100644
--- a/Swiften/TLS/OpenSSL/OpenSSLContextFactory.h
+++ b/Swiften/TLS/OpenSSL/OpenSSLContextFactory.h
@@ -14,6 +14,8 @@ namespace Swift {
bool canCreate() const override final;
virtual TLSContext* createTLSContext(const TLSOptions& tlsOptions, TLSContext::Mode mode) override final;
+ virtual ByteArray convertDHParametersFromPEMToDER(const std::string& dhParametersInPEM) override final;
+
// Not supported
virtual void setCheckCertificateRevocation(bool b) override final;
virtual void setDisconnectOnCardRemoval(bool b) override final;