From 97a05106707896c65d6fc0b563e9fd7ae9a0637d Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Wed, 25 Mar 2009 17:57:58 +0100 Subject: Small documentation enhancement for QSslSocket RevBy: TrustMe --- src/network/ssl/qsslsocket.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp index 4abf865..39ac5da 100644 --- a/src/network/ssl/qsslsocket.cpp +++ b/src/network/ssl/qsslsocket.cpp @@ -398,9 +398,12 @@ void QSslSocket::connectToHostEncrypted(const QString &hostName, quint16 port, O /*! \since 4.6 + \overload - Variant of connectToHostEncrypted that enables to use a different hostname (\a sslPeerName) - for the certificate validation than the one used for the TCP connection (\a hostName). + In addition to the original behaviour of connectToHostEncrypted, + this overloaded method enables the usage of a different hostname + (\a sslPeerName) for the certificate validation instead of + the one used for the TCP connection (\a hostName). \sa connectToHostEncrypted() */ -- cgit v0.12