Support SSL certificate bundles. Issue #4896.

This commit is contained in:
UnDifferential 2016-03-05 02:41:18 -05:00 committed by Brandon Rutledge
parent 15ec515872
commit f50a8d4f59
3 changed files with 15 additions and 10 deletions

View file

@ -54,7 +54,7 @@ namespace Http
~Server();
#ifndef QT_NO_OPENSSL
void enableHttps(const QSslCertificate &certificate, const QSslKey &key);
void enableHttps(const QList<QSslCertificate> &certificates, const QSslKey &key);
void disableHttps();
#endif
@ -69,7 +69,7 @@ namespace Http
IRequestHandler *m_requestHandler;
#ifndef QT_NO_OPENSSL
bool m_https;
QSslCertificate m_certificate;
QList<QSslCertificate> m_certificates;
QSslKey m_key;
#endif
};