diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2016-05-10 17:40:25 +0200 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2016-05-10 17:40:25 +0200 |
commit | ffca24bed7a03d95585ad02278667abe75d8b272 (patch) | |
tree | 336f336401e5166e1009e24a6c8d40b97a97af89 /src/openvpn/push.c | |
parent | 9653b1bffea4e96c1eb7c1814e8bed21fea62321 (diff) |
Imported Upstream version 2.3.11upstream/2.3.11
Diffstat (limited to 'src/openvpn/push.c')
-rw-r--r-- | src/openvpn/push.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openvpn/push.c b/src/openvpn/push.c index e4f3984..71f39c1 100644 --- a/src/openvpn/push.c +++ b/src/openvpn/push.c @@ -74,8 +74,11 @@ receive_auth_failed (struct context *c, const struct buffer *buffer) if (buf_string_compare_advance (&buf, "AUTH_FAILED,") && BLEN (&buf)) reason = BSTR (&buf); management_auth_failure (management, UP_TYPE_AUTH, reason); - } else + } #endif + /* + * Save the dynamic-challenge text even when management is defined + */ { #ifdef ENABLE_CLIENT_CR struct buffer buf = *buffer; |