summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kdecore/network/ktcpsocket.cpp2
-rw-r--r--kdecore/network/ktcpsocket.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/kdecore/network/ktcpsocket.cpp b/kdecore/network/ktcpsocket.cpp
index 17b84d1..3a739f2 100644
--- a/kdecore/network/ktcpsocket.cpp
+++ b/kdecore/network/ktcpsocket.cpp
@@ -316,6 +316,8 @@ public:
return KTcpSocket::NetworkError;
case QAbstractSocket::UnsupportedSocketOperationError:
return KTcpSocket::UnsupportedSocketOperationError;
+ case QAbstractSocket::SslHandshakeFailedError:
+ return KTcpSocket::SslHandshakeFailedError;
case QAbstractSocket::DatagramTooLargeError:
//we don't do UDP
case QAbstractSocket::AddressInUseError:
diff --git a/kdecore/network/ktcpsocket.h b/kdecore/network/ktcpsocket.h
index 58dfa2c..c281b3e 100644
--- a/kdecore/network/ktcpsocket.h
+++ b/kdecore/network/ktcpsocket.h
@@ -175,7 +175,8 @@ public:
SocketResourceError,
SocketTimeoutError,
NetworkError,
- UnsupportedSocketOperationError
+ UnsupportedSocketOperationError,
+ SslHandshakeFailedError
};
/*
The following is based on reading the OpenSSL interface code of both QSslSocket