Changes in src/gnutls_hooks.c [e8acf05:5a8a32b] in mod_gnutls


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    re8acf05 r5a8a32b  
    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.