MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / continueWithPrivKeyPasswordImpl

Method continueWithPrivKeyPasswordImpl

src/client/engine/engine/engine.cpp:1163–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1161}
1162
1163void Engine::continueWithPrivKeyPasswordImpl(const QString &password, bool bSave)
1164{
1165 // if password is empty, then disconnect
1166 if (password.isEmpty()) {
1167 connectionManager_->clickDisconnect();
1168 } else {
1169 if (bSave) {
1170 customOvpnAuthCredentialsStorage_->setPrivKeyPassword(connectionManager_->getCustomOvpnConfigFileName(), password);
1171 }
1172 connectionManager_->continueWithPrivKeyPassword(password, isNeedReconnectAfterRequestAuth_);
1173 }
1174}
1175
1176void Engine::gotoCustomOvpnConfigModeImpl()
1177{

Callers

nothing calls this directly

Calls 5

isEmptyMethod · 0.45
clickDisconnectMethod · 0.45
setPrivKeyPasswordMethod · 0.45

Tested by

no test coverage detected