Changeset 52149ee in mod_gnutls for src


Ignore:
Timestamp:
Oct 1, 2008, 12:06:35 PM (11 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
7ca474b
Parents:
a208cd3
git-author:
Nikos Mavrogiannopoulos <nmav@…> (10/01/08 12:06:35)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (10/01/08 12:06:35)
Message:

Allow openpgp-only sites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    ra208cd3 r52149ee  
    410410#endif
    411411
    412             if (sc->certs_x509[0] == NULL
    413                 && sc->enabled == GNUTLS_ENABLED_TRUE) {
     412            if (sc->certs_x509[0] == NULL &&
     413                sc->cert_pgp == NULL &&
     414                sc->enabled == GNUTLS_ENABLED_TRUE) {
    414415                ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s,
    415416                             "[GnuTLS] - Host '%s:%d' is missing a "
     
    419420            }
    420421
    421             if (sc->privkey_x509 == NULL
    422                 && sc->enabled == GNUTLS_ENABLED_TRUE) {
     422            if (sc->enabled == GNUTLS_ENABLED_TRUE &&
     423              ((sc->certs_x509[0] != NULL && sc->privkey_x509 == NULL) ||
     424              (sc->cert_pgp != NULL && sc->privkey_pgp == NULL))) {
    423425                ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s,
    424426                             "[GnuTLS] - Host '%s:%d' is missing a "
Note: See TracChangeset for help on using the changeset viewer.