From: james Date: Sun, 27 Jul 2008 00:43:49 +0000 (+0000) Subject: Added a warning message when passwords are cached in memory. X-Git-Tag: v2.1_rc9~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70899be8dd79b2530e3ae5b1946d3f30e3bb6f43;p=thirdparty%2Fopenvpn.git 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 --- diff --git a/misc.c b/misc.c index c647fd00e..4cdc3de2d 100644 --- a/misc.c +++ b/misc.c @@ -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"); + } } /*