aboutsummaryrefslogtreecommitdiff
path: root/ssl.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2010-01-16 03:24:07 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2010-01-16 03:24:07 +0000
commita345b41ebae094971f60bb9d144dbc56182a2a7c (patch)
treef467bf1821bec36c711d9a153faec8afca8e8971 /ssl.c
parentWhen aborting in a non-graceful way, try to execute do_close_tun in (diff)
downloadopenvpn-a345b41ebae094971f60bb9d144dbc56182a2a7c.tar.xz
Fixed an issue where AUTH_FAILED was not being properly delivered
to the client when a bad password is given for mid-session reauth. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5369 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'ssl.c')
-rw-r--r--ssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl.c b/ssl.c
index e6953db..82e04a3 100644
--- a/ssl.c
+++ b/ssl.c
@@ -1228,6 +1228,10 @@ tls_authentication_status (struct tls_multi *multi, const int latency)
}
#ifdef MANAGEMENT_DEF_AUTH
+/*
+ * For deferred auth, this is where the management interface calls (on server)
+ * to indicate auth failure/success.
+ */
bool
tls_authenticate_key (struct tls_multi *multi, const unsigned int mda_key_id, const bool auth, const char *client_reason)
{