summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qabstractsocket.cpp
diff options
context:
space:
mode:
authorJonas M. Gastal <jgastal@profusion.mobi>2012-01-26 11:28:39 -0200
committerQt by Nokia <qt-info@nokia.com>2012-02-01 02:16:14 +0100
commit695dded37ba2f6c4de9cf585193093dd25cec9f3 (patch)
treed991267a3d06474791348992b2dd11cdd7c574c4 /src/network/socket/qabstractsocket.cpp
parent96f1fe8855082017fbbecccdab1eb11fd8c1f870 (diff)
Emit QSslSocket::error in case of openssl gives an error.
Create new QAbstractSocket::SocketError value that denotes a error in the SSL library: SslInternalError Create QAbstractSocket::SocketError value that denotes a error in data provided by user cauding an SSL library error: SslInvalidUserDataError Change-Id: I466a9389d9d7052efd8eddd1a2d6067ba26dfddb Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Shane Kearns <ext-shane.2.kearns@nokia.com>
Diffstat (limited to 'src/network/socket/qabstractsocket.cpp')
-rw-r--r--src/network/socket/qabstractsocket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp
index b6d0733f6d..2e54a2d3ca 100644
--- a/src/network/socket/qabstractsocket.cpp
+++ b/src/network/socket/qabstractsocket.cpp
@@ -317,6 +317,10 @@
because the response from the proxy server could not be understood.
\value OperationError An operation was attempted while the socket was in a state that
did not permit it.
+ \value SslInternalError The SSL library being used reported a internal error, this is
+ probably the result of a bad installation or misconfiguration of the library.
+ \value SslInvalidUserDataError Invalid data(certificate, key, cypher, etc.) was
+ provided and its use resulted in an error in the SSL library.
\value UnknownSocketError An unidentified error occurred.
\sa QAbstractSocket::error()