diff options
author | Nikos Mavrogiannopoulos | 2008-02-20 19:50:09 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2008-02-20 19:50:09 +0000 |
commit | 787dab7316f5a9a314b538d0876a9e57af977dc3 (patch) | |
tree | e1fb01b994eba94e6d357fddffb1459d9fddd018 /src/mod_gnutls.c | |
parent | 2cdc2649f2201af83d570fc418a984fe936d6fe0 (diff) |
added option to disable srp (for distributions that disable it in gnutls)
Diffstat (limited to 'src/mod_gnutls.c')
-rw-r--r-- | src/mod_gnutls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_gnutls.c b/src/mod_gnutls.c index 014bfc8..5207641 100644 --- a/src/mod_gnutls.c +++ b/src/mod_gnutls.c | |||
@@ -104,6 +104,7 @@ static const command_rec mgs_config_cmds[] = { | |||
104 | NULL, | 104 | NULL, |
105 | RSRC_CONF, | 105 | RSRC_CONF, |
106 | "SSL Server PGP Private key file"), | 106 | "SSL Server PGP Private key file"), |
107 | #ifdef ENABLE_SRP | ||
107 | AP_INIT_TAKE1("GnuTLSSRPPasswdFile", mgs_set_srp_tpasswd_file, | 108 | AP_INIT_TAKE1("GnuTLSSRPPasswdFile", mgs_set_srp_tpasswd_file, |
108 | NULL, | 109 | NULL, |
109 | RSRC_CONF, | 110 | RSRC_CONF, |
@@ -112,6 +113,7 @@ static const command_rec mgs_config_cmds[] = { | |||
112 | NULL, | 113 | NULL, |
113 | RSRC_CONF, | 114 | RSRC_CONF, |
114 | "SSL Server SRP Parameters file"), | 115 | "SSL Server SRP Parameters file"), |
116 | #endif | ||
115 | AP_INIT_TAKE1("GnuTLSCacheTimeout", mgs_set_cache_timeout, | 117 | AP_INIT_TAKE1("GnuTLSCacheTimeout", mgs_set_cache_timeout, |
116 | NULL, | 118 | NULL, |
117 | RSRC_CONF, | 119 | RSRC_CONF, |