- Timestamp:
- Feb 20, 2008, 2:50:09 PM (15 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, upstream
- Children:
- 572096b
- Parents:
- 2cdc264
- git-author:
- Nikos Mavrogiannopoulos <nmav@…> (02/20/08 14:50:09)
- git-committer:
- Nokis Mavrogiannopoulos <nmav@…> (02/20/08 14:50:09)
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_config.c
r2cdc264 r787dab7 282 282 283 283 284 #ifdef ENABLE_SRP 285 284 286 const char *mgs_set_srp_tpasswd_file(cmd_parms * parms, void *dummy, 285 287 const char *arg) … … 307 309 return NULL; 308 310 } 311 312 #endif 309 313 310 314 const char *mgs_set_cache(cmd_parms * parms, void *dummy, … … 544 548 } 545 549 550 #ifdef ENABLE_SRP 546 551 ret = gnutls_srp_allocate_server_credentials(&sc->srp_creds); 547 552 if (ret < 0) { … … 552 557 sc->srp_tpasswd_conf_file = NULL; 553 558 sc->srp_tpasswd_file = NULL; 559 #endif 560 554 561 sc->privkey_x509 = NULL; 555 562 memset( sc->certs_x509, 0, sizeof(sc->certs_x509)); -
src/gnutls_hooks.c
r2cdc264 r787dab7 132 132 gnutls_credentials_set(session, GNUTLS_CRD_ANON, ctxt->sc->anon_creds); 133 133 134 #ifdef ENABLE_SRP 134 135 if (ctxt->sc->srp_tpasswd_conf_file != NULL 135 136 && ctxt->sc->srp_tpasswd_file != NULL) { … … 137 138 ctxt->sc->srp_creds); 138 139 } 140 #endif 139 141 140 142 /* update the priorities - to avoid negotiating a ciphersuite that is not … … 380 382 cert_retrieve_fn); 381 383 384 #ifdef ENABLE_SRP 382 385 if (sc->srp_tpasswd_conf_file != NULL 383 386 && sc->srp_tpasswd_file != NULL) { … … 396 399 } 397 400 } 401 #endif 398 402 399 403 if (sc->certs_x509[0] == NULL … … 723 727 (ctxt->session))); 724 728 729 #ifdef ENABLE_SRP 725 730 apr_table_setn(env, "SSL_SRP_USER", 726 731 gnutls_srp_server_get_username(ctxt->session)); 732 #endif 727 733 728 734 if (apr_table_get(env, "SSL_CLIENT_VERIFY") == NULL) -
src/mod_gnutls.c
r2cdc264 r787dab7 105 105 RSRC_CONF, 106 106 "SSL Server PGP Private key file"), 107 #ifdef ENABLE_SRP 107 108 AP_INIT_TAKE1("GnuTLSSRPPasswdFile", mgs_set_srp_tpasswd_file, 108 109 NULL, … … 113 114 RSRC_CONF, 114 115 "SSL Server SRP Parameters file"), 116 #endif 115 117 AP_INIT_TAKE1("GnuTLSCacheTimeout", mgs_set_cache_timeout, 116 118 NULL,
Note: See TracChangeset
for help on using the changeset viewer.