Changes in / [9a06bbd:8731286] in mod_gnutls


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r9a06bbd r8731286  
    899899        }
    900900        rv = mgs_cert_verify(r, ctxt);
    901         if (rv != DECLINED &&
    902                 (rv != HTTP_FORBIDDEN ||
    903                 dc->client_verify_mode == GNUTLS_CERT_REQUIRE)) {
     901        if (rv != DECLINED
     902            && (rv != HTTP_FORBIDDEN
     903                || dc->client_verify_mode == GNUTLS_CERT_REQUIRE
     904                || (dc->client_verify_mode == -1
     905                    && ctxt->sc->client_verify_mode == GNUTLS_CERT_REQUIRE)))
     906        {
    904907            return rv;
    905908        }
Note: See TracChangeset for help on using the changeset viewer.