Changeset 44e8944 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jun 15, 2016, 7:27:39 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
7e7d328
Parents:
eee1432
Message:

Allocate memory for X.509 and PGP certificates only when needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    reee1432 r44e8944  
    463463        if (sc->enabled == GNUTLS_ENABLED_TRUE &&
    464464            ((sc->certs_x509_chain_num > 0 && sc->privkey_x509 == NULL) ||
    465              (sc->cert_crt_pgp[0] != NULL && sc->privkey_pgp == NULL))) {
     465             (sc->cert_crt_pgp != NULL && sc->privkey_pgp == NULL)))
     466        {
    466467                        ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
    467468                                                "GnuTLS: Host '%s:%d' is missing a Private Key File!",
Note: See TracChangeset for help on using the changeset viewer.