Changeset a3e0f7b in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Jan 12, 2020, 10:01:55 AM (9 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
5c9ca6b
Parents:
845c112
git-author:
Fiona Klute <fiona.klute@…> (01/12/20 07:50:52)
git-committer:
Fiona Klute <fiona.klute@…> (01/12/20 10:01:55)
Message:

Support a list of files for the GnuTLSOCSPResponseFile option

This allows users to specify multiple responses for multi-staple. Note
that mod_gnutls will try to send its own requests for certificates
without a matching response.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r845c112 ra3e0f7b  
    33 *  Copyright 2008, 2014 Nikos Mavrogiannopoulos
    44 *  Copyright 2011 Dash Shendy
    5  *  Copyright 2015-2018 Fiona Klute
     5 *  Copyright 2015-2020 Fiona Klute
    66 *
    77 *  Licensed under the Apache License, Version 2.0 (the "License");
     
    906906    sc->ocsp_check_nonce = GNUTLS_ENABLED_UNSET;
    907907    sc->ocsp_response_file = NULL;
     908    sc->ocsp_response_file_num = 0;
    908909    sc->ocsp_mutex = NULL;
    909910    sc->ocsp_cache = NULL;
     
    972973    gnutls_srvconf_merge(ocsp_check_nonce, GNUTLS_ENABLED_UNSET);
    973974    gnutls_srvconf_assign(ocsp_response_file);
     975    gnutls_srvconf_assign(ocsp_response_file_num);
    974976    gnutls_srvconf_merge(ocsp_cache_time, MGS_TIMEOUT_UNSET);
    975977    gnutls_srvconf_merge(ocsp_failure_timeout, MGS_TIMEOUT_UNSET);
Note: See TracChangeset for help on using the changeset viewer.