Ticket #180: openvpn-auth_failed.diff
File openvpn-auth_failed.diff, 623 bytes (added by , 8 years ago) |
---|
-
src/openvpn/push.c
a b 410 410 #if P2MP_SERVER 411 411 if (buf_string_compare_advance (&buf, "PUSH_REQUEST")) 412 412 { 413 if (tls_authentication_status (c->c2.tls_multi, 0) == TLS_AUTHENTICATION_FAILED || c->c2.context_auth == CAS_FAILED )413 if (tls_authentication_status (c->c2.tls_multi, 0) == TLS_AUTHENTICATION_FAILED || c->c2.context_auth == CAS_FAILED || c->c2.context_auth == CAS_PARTIAL) 414 414 { 415 415 const char *client_reason = tls_client_reason (c->c2.tls_multi); 416 416 send_auth_failed (c, client_reason);