Changeset 0a02378 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Oct 27, 2016, 6:21:05 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, proxy-ticket, upstream
Children:
ef107fd
Parents:
333bbc7
Message:

Style fixes for OCSP related time differences

  • Consistently use apr_interval_time_t for time differences
  • Rename MGS_GRACE_TIME to MGS_OCSP_GRACE_TIME
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r333bbc7 r0a02378  
    11271127    sc->ocsp_response_file = NULL;
    11281128    sc->ocsp_mutex = NULL;
    1129     sc->ocsp_grace_time = apr_time_from_sec(MGS_GRACE_TIME);
     1129    sc->ocsp_grace_time = apr_time_from_sec(MGS_OCSP_GRACE_TIME);
    11301130    sc->ocsp_failure_timeout = apr_time_from_sec(MGS_OCSP_FAILURE_TIMEOUT);
    11311131    sc->ocsp_socket_timeout = apr_time_from_sec(MGS_OCSP_SOCKET_TIMEOUT);
     
    11891189    gnutls_srvconf_merge(ocsp_staple, GNUTLS_ENABLED_UNSET);
    11901190    gnutls_srvconf_assign(ocsp_response_file);
    1191     gnutls_srvconf_merge(ocsp_grace_time, apr_time_from_sec(MGS_GRACE_TIME));
     1191    gnutls_srvconf_merge(ocsp_grace_time,
     1192                         apr_time_from_sec(MGS_OCSP_GRACE_TIME));
    11921193    gnutls_srvconf_merge(ocsp_failure_timeout,
    11931194                         apr_time_from_sec(MGS_OCSP_FAILURE_TIMEOUT));
Note: See TracChangeset for help on using the changeset viewer.