summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket_openssl_p.h
diff options
context:
space:
mode:
authorRichard J. Moore <rich@kde.org>2010-06-06 21:10:08 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2010-08-10 12:31:15 (GMT)
commitca9270722b4412d9f70efe1ef4ad51635deca75a (patch)
tree85fc0ec1616ca23b4dd0be6224cd5464d2c7570f /src/network/ssl/qsslsocket_openssl_p.h
parent362641ec2bdf5e05b4adfc54275c1c4869759d56 (diff)
downloadQt-ca9270722b4412d9f70efe1ef4ad51635deca75a.zip
Qt-ca9270722b4412d9f70efe1ef4ad51635deca75a.tar.gz
Qt-ca9270722b4412d9f70efe1ef4ad51635deca75a.tar.bz2
Fix handling of SSL certificates with wildcard domain names
Merge-request: 731 Task-number: QTBUG-4455 Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl_p.h')
-rw-r--r--src/network/ssl/qsslsocket_openssl_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_openssl_p.h b/src/network/ssl/qsslsocket_openssl_p.h
index 836f064..05eb4fa 100644
--- a/src/network/ssl/qsslsocket_openssl_p.h
+++ b/src/network/ssl/qsslsocket_openssl_p.h
@@ -115,6 +115,7 @@ public:
static QSslCipher QSslCipher_from_SSL_CIPHER(SSL_CIPHER *cipher);
static QList<QSslCertificate> STACKOFX509_to_QSslCertificates(STACK_OF(X509) *x509);
+ Q_AUTOTEST_EXPORT static bool isMatchingHostname(const QString &cn, const QString &hostname);
};
QT_END_NAMESPACE