Changeset 6055aff in mod_gnutls


Ignore:
Timestamp:
Jan 29, 2013, 3:41:38 PM (6 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
dab7a25
Parents:
e2b936e
git-author:
Daniel Kahn Gillmor <dkg@…> (01/20/13 00:51:29)
git-committer:
Daniel Kahn Gillmor <dkg@…> (01/29/13 15:41:38)
Message:

warn if the server hostname cannot be found in the certificate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    re2b936e r6055aff  
    548548   
    549549        int ret = gnutls_x509_crt_check_hostname(tsc->certs_x509_chain[tsc->certs_x509_chain_num-1], s->server_hostname);
    550    
     550    if (0 == ret)
     551        ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
     552                     "GnuTLS: Error checking certificate for hostname "
     553                     "'%s'", s->server_hostname);
    551554        return check_server_aliases(x, s, tsc);
    552555}
Note: See TracChangeset for help on using the changeset viewer.