From 3cd37fc03d244121c2bcc286e3412be04dbc894b Mon Sep 17 00:00:00 2001 From: james Date: Mon, 27 Oct 2008 05:58:44 +0000 Subject: 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 --- ssl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ssl.c') 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]" : ""); } -- cgit v1.2.3