Changeset 8df5b25 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jan 11, 2013, 12:56:26 AM (8 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
15ffe0b, 9d9b093
Parents:
dc1e7e6
Message:

Imported Upstream version 0.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    rdc1e7e6 r8df5b25  
    116116    gnutls_credentials_set(session, GNUTLS_CRD_ANON, ctxt->sc->anon_creds);
    117117
     118#ifdef ENABLE_SRP
    118119    if (ctxt->sc->srp_tpasswd_conf_file != NULL
    119120        && ctxt->sc->srp_tpasswd_file != NULL) {
     
    121122                               ctxt->sc->srp_creds);
    122123    }
     124#endif
    123125
    124126    /* update the priorities - to avoid negotiating a ciphersuite that is not
     
    314316                                                            cert_retrieve_fn);
    315317
     318#ifdef ENABLE_SRP
    316319            if (sc->srp_tpasswd_conf_file != NULL
    317320                && sc->srp_tpasswd_file != NULL) {
     
    330333                }
    331334            }
     335#endif
    332336
    333337            if (sc->certs_x509[0] == NULL
     
    663667                                               (ctxt->session)));
    664668
     669#ifdef ENABLE_SRP
    665670    apr_table_setn(env, "SSL_SRP_USER",
    666671                   gnutls_srp_server_get_username(ctxt->session));
     672#endif
    667673
    668674    if (apr_table_get(env, "SSL_CLIENT_VERIFY") == NULL)
     
    795801    apr_table_setn(env,
    796802       apr_pstrcat(r->pool, MGS_SIDE, "_CERT_TYPE", NULL), "X.509");
    797 #ifdef COMPAT
    798     apr_table_setn(env,
    799        apr_pstrcat(r->pool, MGS_SIDE, "_S_TYPE", NULL), "X.509");
    800 #endif
    801803
    802804    tmp =
Note: See TracChangeset for help on using the changeset viewer.