Changeset adceac0 in mod_gnutls for include


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
  • include/mod_gnutls.h.in

    rcb6476c radceac0  
    7979/* The maximum number of certificates to send in a chain */
    8080#define MAX_CHAIN_SIZE 8
    81 /* The maximum number of SANs to read from a x509 certificate */
    82 #define MAX_CERT_SAN 5
    8381
    8482/** Server Configuration Record */
     
    141139     * connections */
    142140    gnutls_anon_client_credentials_t anon_client_creds;
    143         /* Current x509 Certificate CN [Common Name] */
    144     char* cert_cn;
    145         /* Current x509 Certificate SAN [Subject Alternate Name]s*/
    146     char* cert_san[MAX_CERT_SAN];
    147141        /* An x509 Certificate Chain */
    148142    gnutls_pcert_st *certs_x509_chain;
Note: See TracChangeset for help on using the changeset viewer.