Changeset adceac0 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Sep 26, 2018, 3:21:32 PM (2 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
Children:
2ec3e54
Parents:
cb6476c
Message:

Remove unneeded server variables "cert_cn" and "cert_san"

"cert_san" wasn't used or assigned at all, "cert_cn" filled but used
only in a redundant check for assignment and a log message that's
better served by the server name of the virtual host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    rcb6476c radceac0  
    931931void *mgs_config_server_merge(apr_pool_t * p, void *BASE, void *ADD)
    932932{
    933     int i;
    934933    char *err = NULL;
    935934    mgs_srvconf_rec *base = (mgs_srvconf_rec *) BASE;
     
    981980    gnutls_srvconf_assign(certs_x509_crt_chain);
    982981    gnutls_srvconf_assign(certs_x509_chain_num);
    983 
    984     /* how do these get transferred cleanly before the data from ADD
    985      * goes away? */
    986     gnutls_srvconf_assign(cert_cn);
    987     for (i = 0; i < MAX_CERT_SAN; i++)
    988         gnutls_srvconf_assign(cert_san[i]);
    989982
    990983    return sc;
Note: See TracChangeset for help on using the changeset viewer.