Changeset fad7695 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Jun 1, 2016, 12:20:12 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
68ce93c
Parents:
64856fd
Message:

Store OCSP trust list in server config

This avoids recreating the trust list whenever an OCSP response has to
be verified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r64856fd rfad7695  
    973973
    974974    sc->ocsp_response_file = NULL;
     975    sc->ocsp_trust = NULL;
    975976
    976977/* this relies on GnuTLS never changing the gnutls_certificate_request_t enum to define -1 */
     
    10301031    gnutls_srvconf_merge(proxy_priorities, NULL);
    10311032
    1032     gnutls_srvconf_merge(ocsp_response_file, NULL);
     1033    gnutls_srvconf_assign(ocsp_response_file);
     1034    gnutls_srvconf_assign(ocsp_trust);
    10331035
    10341036    /* FIXME: the following items are pre-allocated, and should be
Note: See TracChangeset for help on using the changeset viewer.