MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / SaveMasterPassword

Method SaveMasterPassword

src/Windows/SettingsDialog.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113int SettingsDialog::SaveMasterPassword() {
114 char password[Encryption::KeySize+1];
115 ::GetDlgItemTextA(m_hwnd, IDC_EDIT_MASTERPASS, password, Encryption::KeySize+1);
116 Encryption::SetDefaultKey(password);
117
118 return 0;
119}
120
121int SettingsDialog::SaveClearCache() {
122 LRESULT checked = Button_GetCheck(::GetDlgItem(m_hwnd, IDC_CHECK_CLEARCACHE));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected