Ticket #180: openvpn-auth_failed.diff

File openvpn-auth_failed.diff, 623 bytes (added by ValdikSS, 5 years ago)
  • src/openvpn/push.c

    a b  
    410410#if P2MP_SERVER
    411411  if (buf_string_compare_advance (&buf, "PUSH_REQUEST"))
    412412    {
    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)
    414414        {
    415415          const char *client_reason = tls_client_reason (c->c2.tls_multi);
    416416          send_auth_failed (c, client_reason);