Changeset 5c9ca6b in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Jan 12, 2020, 10:02:25 AM (5 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
33fa7d5
Parents:
a3e0f7b
git-author:
Fiona Klute <fiona.klute@…> (01/12/20 08:02:45)
git-committer:
Fiona Klute <fiona.klute@…> (01/12/20 10:02:25)
Message:

Ensure sc->ocsp and sc->ocsp_num are always initialized

They should never accessed unless OCSP is enabled and they thus have
been set, but better to be safe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    ra3e0f7b r5c9ca6b  
    907907    sc->ocsp_response_file = NULL;
    908908    sc->ocsp_response_file_num = 0;
     909    sc->ocsp = NULL;
     910    sc->ocsp_num = 0;
    909911    sc->ocsp_mutex = NULL;
    910912    sc->ocsp_cache = NULL;
Note: See TracChangeset for help on using the changeset viewer.