summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket_p.h
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@theqtcompany.com>2015-08-31 16:44:01 +0200
committerAndy Shaw <andy.shaw@theqtcompany.com>2016-03-10 14:20:09 +0000
commitb7aa461042ac1dfa22212a2783323d6ce1fd69fd (patch)
treefa498c1b919ac2332530e1251089b701f1fdb609 /src/websockets/qwebsocket_p.h
parent0ec852ed326efe9747bff1dcdef327c690a944b4 (diff)
downloadqtwebsockets-b7aa461042ac1dfa22212a2783323d6ce1fd69fd.tar.gz
Update the QWebSocket's QSslConfiguration when needed
This ensures that the peer certificate chain is kept in sync so that it can be queried when an encrypted connection has been made. Change-Id: I5df18bb71ac4bec3a8a939482df5a5ffe5c20cb5 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'src/websockets/qwebsocket_p.h')
-rw-r--r--src/websockets/qwebsocket_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket_p.h b/src/websockets/qwebsocket_p.h
index 037df61..b7e1a81 100644
--- a/src/websockets/qwebsocket_p.h
+++ b/src/websockets/qwebsocket_p.h
@@ -141,6 +141,7 @@ public:
void ignoreSslErrors();
void setSslConfiguration(const QSslConfiguration &sslConfiguration);
QSslConfiguration sslConfiguration() const;
+ void _q_updateSslConfiguration();
#endif
void closeGoingAway();