Changeset View
Changeset View
Standalone View
Standalone View
vpn/openconnect/openconnectauthworkerthread.cpp
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | |||||
111 | OpenconnectAuthWorkerThread::~OpenconnectAuthWorkerThread() | 111 | OpenconnectAuthWorkerThread::~OpenconnectAuthWorkerThread() | ||
112 | { | 112 | { | ||
113 | openconnect_vpninfo_free(m_openconnectInfo); | 113 | openconnect_vpninfo_free(m_openconnectInfo); | ||
114 | } | 114 | } | ||
115 | 115 | | |||
116 | void OpenconnectAuthWorkerThread::run() | 116 | void OpenconnectAuthWorkerThread::run() | ||
117 | { | 117 | { | ||
118 | openconnect_init_ssl(); | 118 | openconnect_init_ssl(); | ||
119 | Q_EMIT initTokens(); | ||||
119 | int ret = openconnect_obtain_cookie(m_openconnectInfo); | 120 | int ret = openconnect_obtain_cookie(m_openconnectInfo); | ||
120 | if (*m_userDecidedToQuit) { | 121 | if (*m_userDecidedToQuit) { | ||
121 | return; | 122 | return; | ||
122 | } | 123 | } | ||
123 | Q_EMIT cookieObtained(ret); | 124 | Q_EMIT cookieObtained(ret); | ||
124 | } | 125 | } | ||
125 | 126 | | |||
126 | struct openconnect_info* OpenconnectAuthWorkerThread::getOpenconnectInfo() | 127 | struct openconnect_info* OpenconnectAuthWorkerThread::getOpenconnectInfo() | ||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |