aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-27 00:43:49 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-27 00:43:49 +0000
commit70899be8dd79b2530e3ae5b1946d3f30e3bb6f43 (patch)
tree8151189551a1f815d9611bdd491fb38ca24f7231 /misc.c
parentPerform additional input validation on options pulled (diff)
downloadopenvpn-70899be8dd79b2530e3ae5b1946d3f30e3bb6f43.tar.xz
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
Diffstat (limited to '')
-rw-r--r--misc.c4
1 files changed, 4 insertions, 0 deletions
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");
+ }
}
/*