Added a warning message when passwords are cached in memory.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3127 e7ae566f-a301-0410-adde-c780ea21d3b5
This commit is contained in:
james 2008-07-27 00:43:49 +00:00
parent b4073a7602
commit 70899be8dd

4
misc.c
View File

@ -1480,6 +1480,10 @@ purge_user_pass (struct user_pass *up, const bool force)
CLEAR (*up);
up->nocache = nocache;
}
else
{
msg (M_WARN, "WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this");
}
}
/*