From 70899be8dd79b2530e3ae5b1946d3f30e3bb6f43 Mon Sep 17 00:00:00 2001 From: james Date: Sun, 27 Jul 2008 00:43:49 +0000 Subject: 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 --- misc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/misc.c b/misc.c index c647fd0..4cdc3de 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"); + } } /* -- cgit