aboutsummaryrefslogtreecommitdiff
path: root/ssl.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-27 05:58:44 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-27 05:58:44 +0000
commit3cd37fc03d244121c2bcc286e3412be04dbc894b (patch)
treef5976c32e629d73727a4553c0ba1addc21295130 /ssl.c
parentExtended Management Interface "bytecount" command (diff)
downloadopenvpn-3cd37fc03d244121c2bcc286e3412be04dbc894b.tar.xz
Fixed informational message in ssl.c to properly indicate
deferred authentication. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3457 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--ssl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssl.c b/ssl.c
index c1ea31d..0907293 100644
--- a/ssl.c
+++ b/ssl.c
@@ -3333,7 +3333,11 @@ key_method_2_read (struct buffer *buf, struct tls_multi *multi, struct tls_sessi
if (session->opt->username_as_common_name)
set_common_name (session, up->username);
msg (D_HANDSHAKE, "TLS: Username/Password authentication %s for username '%s' %s",
- s1 == OPENVPN_PLUGIN_FUNC_SUCCESS ? "succeeded" : "deferred",
+#ifdef ENABLE_DEF_AUTH
+ ks->auth_deferred ? "deferred" : "succeeded",
+#else
+ "succeeded",
+#endif
up->username,
session->opt->username_as_common_name ? "[CN SET]" : "");
}