aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls_config.c')
-rw-r--r--src/gnutls_config.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gnutls_config.c b/src/gnutls_config.c
index d75e785..ca26a2d 100644
--- a/src/gnutls_config.c
+++ b/src/gnutls_config.c
@@ -285,6 +285,22 @@ const char *mgs_set_pgpkey_file(cmd_parms * parms, void *dummy,
285 return NULL; 285 return NULL;
286} 286}
287 287
288const char *mgs_set_tickets(cmd_parms * parms, void *dummy,
289 const char *arg)
290{
291 mgs_srvconf_rec *sc =
292 (mgs_srvconf_rec *) ap_get_module_config(parms->server->
293 module_config,
294 &gnutls_module);
295
296 sc->tickets = 0;
297 if (strcasecmp("on", arg) == 0) {
298 sc->tickets = 1;
299 }
300
301 return NULL;
302}
303
288 304
289#ifdef ENABLE_SRP 305#ifdef ENABLE_SRP
290 306