diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-10-27 05:58:44 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-10-27 05:58:44 +0000 |
commit | 3cd37fc03d244121c2bcc286e3412be04dbc894b (patch) | |
tree | f5976c32e629d73727a4553c0ba1addc21295130 /ssl.c | |
parent | Extended Management Interface "bytecount" command (diff) | |
download | openvpn-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 'ssl.c')
-rw-r--r-- | ssl.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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]" : ""); } |