Changes in / [b429e4c:b324906] in mod_gnutls


Ignore:
Files:
117 added
94 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    rb429e4c rb324906  
    88                NOTICE LICENSE autogen.sh
    99
    10 SUBDIRS = src
     10SUBDIRS = src test
    1111ACLOCAL_AMFLAGS = -I m4
    12 TESTS = run_tests.sh
  • configure.ac

    rb429e4c rb324906  
    5959               [enable Monkeysphere client certificate verification]),
    6060       use_msva=$enableval, use_msva=no)
     61AM_CONDITIONAL([USE_MSVA], [test "$use_msva" = "$enableval"])
    6162
    6263MSVA_CFLAGS=""
     
    8283AC_SUBST(MODULE_LIBS)
    8384
    84 AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h])
     85AC_CONFIG_FILES([Makefile src/Makefile test/Makefile include/mod_gnutls.h])
    8586AC_OUTPUT
    8687
  • src/gnutls_hooks.c

    rb429e4c rb324906  
    992992        }
    993993        rv = mgs_cert_verify(r, ctxt);
    994         if (rv != DECLINED &&
    995                 (rv != HTTP_FORBIDDEN ||
    996                 dc->client_verify_mode == GNUTLS_CERT_REQUIRE)) {
     994        if (rv != DECLINED
     995            && (rv != HTTP_FORBIDDEN
     996                || dc->client_verify_mode == GNUTLS_CERT_REQUIRE
     997                || (dc->client_verify_mode == -1
     998                    && ctxt->sc->client_verify_mode == GNUTLS_CERT_REQUIRE)))
     999        {
    9971000            return rv;
    9981001        }
Note: See TracChangeset for help on using the changeset viewer.