diff -r 98d0e2516f4e -r 48f43130b4a2 application/config.c --- a/application/config.c Mon Oct 28 07:37:45 2024 +0100 +++ b/application/config.c Mon Oct 28 15:20:58 2024 +0100 @@ -265,6 +265,13 @@ return pstore; } +void set_pwdstore(PwdStore *newstore) { + if(pstore) { + // TODO: free + } + pstore = newstore; +} + int pwdstore_save(PwdStore *pwdstore) { if(check_config_dir()) { return 1;