From 46275eef3de4e025b5657e67e142fc58125779be Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Fri, 13 Apr 2018 15:24:01 +0200 Subject: Add support for auto-unloading av the master password --- src/main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index c6bd812..3c87c70 100644 --- a/src/main.c +++ b/src/main.c @@ -412,6 +412,13 @@ int main(int argc, char *argv[]) remote_command_exec(); +#if USE_SSL + if (prefs_common.auto_unload_master_password && master_password_active()) { + debug_print("Auto unloading master password\n"); + unload_master_password(); + } +#endif + #if USE_UPDATE_CHECK if (prefs_common.auto_update_check) update_check(FALSE); -- cgit v1.3