Changeset 4ecf14f in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jan 11, 2013, 12:57:28 AM (8 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
241fee8, 52b649e
Parents:
f8ffc43
Message:

Imported Upstream version 0.5.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    rf8ffc43 r4ecf14f  
    401401
    402402                if (rv < 0 && sc->enabled == GNUTLS_ENABLED_TRUE) {
    403                     ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s,
     403                    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
    404404                                 "[GnuTLS] - Host '%s:%d' is missing a "
    405405                                 "SRP password or conf File!",
     
    413413                sc->cert_pgp == NULL &&
    414414                sc->enabled == GNUTLS_ENABLED_TRUE) {
    415                 ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s,
     415                ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
    416416                             "[GnuTLS] - Host '%s:%d' is missing a "
    417417                             "Certificate File!", s->server_hostname,
     
    423423              ((sc->certs_x509[0] != NULL && sc->privkey_x509 == NULL) ||
    424424              (sc->cert_pgp != NULL && sc->privkey_pgp == NULL))) {
    425                 ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s,
     425                ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
    426426                             "[GnuTLS] - Host '%s:%d' is missing a "
    427427                             "Private Key File!",
     
    436436
    437437                if (rv < 0) {
    438                     ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s,
     438                    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
    439439                                 "[GnuTLS] - Cannot find a certificate for host '%s:%d'!",
    440440                                 s->server_hostname, s->port);
     
    686686        return DECLINED;
    687687    }
     688
     689    if(c->remote_addr->hostname)
     690      /* Connection initiated by Apache (mod_proxy) => ignore */
     691      return OK;
    688692
    689693    ctxt = create_gnutls_handle(c->pool, c);
Note: See TracChangeset for help on using the changeset viewer.