Changeset 6bbc00a in mod_gnutls
- Timestamp:
- Mar 19, 2015, 11:40:40 AM (6 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
- Children:
- dda3acf
- Parents:
- d8ae2a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
rd8ae2a0 r6bbc00a 1696 1696 unsigned int status; 1697 1697 1698 int err = gnutls_certificate_verify_peers3(session, NULL, &status); 1698 /* Get peer hostname from a note left by mod_proxy */ 1699 const char *peer_hostname = 1700 apr_table_get(ctxt->c->notes, "proxy-request-hostname"); 1701 if (peer_hostname == NULL) 1702 ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, ctxt->c, 1703 "%s: proxy-request-hostname is NULL, cannot check " 1704 "peer's hostname", __func__); 1705 1706 /* Verify certificate, including hostname match. Should 1707 * peer_hostname be NULL for some reason, the name is not 1708 * checked. */ 1709 int err = gnutls_certificate_verify_peers3(session, peer_hostname, 1710 &status); 1699 1711 if (err != GNUTLS_E_SUCCESS) 1700 1712 {
Note: See TracChangeset
for help on using the changeset viewer.