Changeset 600cf16 in mod_gnutls


Ignore:
Timestamp:
Jan 27, 2016, 1:35:28 AM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
bc539d5
Parents:
c3bee83
Message:

mgs_status_hook: Remove code for GnuTLS versions < 3

mod_gnutls requires GnuTLS 3.1.4 or newer since version 0.7, so
keeping this code around is unnecessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    rc3bee83 r600cf16  
    16751675        mgs_handle_t* ctxt;
    16761676        ctxt = ap_get_module_config(r->connection->conn_config, &gnutls_module);
    1677         if (ctxt && ctxt->session != NULL) {
    1678 #if GNUTLS_VERSION_MAJOR < 3
    1679             ap_rprintf(r, "<dt>This TLS Session:</dt><dd>%s</dd>\n",
    1680                 gnutls_cipher_suite_get_name(gnutls_kx_get(ctxt->session),
    1681                 gnutls_cipher_get(ctxt->session),
    1682                 gnutls_mac_get(ctxt->session)));
    1683 #else
     1677        if (ctxt && ctxt->session != NULL)
     1678        {
    16841679            char* z = NULL;
    16851680            z = gnutls_session_get_desc(ctxt->session);
     
    16881683                gnutls_free(z);
    16891684            }
    1690 #endif
    16911685        }
    16921686    }
Note: See TracChangeset for help on using the changeset viewer.