Changeset a372379 in mod_gnutls for src/gnutls_ocsp.h


Ignore:
Timestamp:
Jun 10, 2016, 8:26:50 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
6c44ed2
Parents:
cc74801
Message:

Store server certificate fingerprint in OCSP config

It's not like it's going to change without a server reload, so just
calculate the fingerprint once instead of for every connection that
uses OCSP stapling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_ocsp.h

    rcc74801 ra372379  
    3636     * certificate. */
    3737    gnutls_x509_trust_list_t *trust;
     38    /* Server certificate fingerprint, used as cache key for the OCSP
     39     * response */
     40    gnutls_datum_t fingerprint;
    3841};
    3942
Note: See TracChangeset for help on using the changeset viewer.