Changeset fad7695 in mod_gnutls for src/gnutls_hooks.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, proxy-ticket, 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_hooks.c

    r64856fd rfad7695  
    381381                " Shutting Down.");
    382382            return HTTP_NOT_FOUND;
     383        }
     384
     385        /* init OCSP trust list if OCSP is enabled */
     386        if (sc->ocsp_response_file != NULL)
     387        {
     388            rv = mgs_ocsp_post_config_server(pconf, s);
     389            if (rv != OK && rv != DECLINED)
     390                return rv;
    383391        }
    384392
Note: See TracChangeset for help on using the changeset viewer.