diff options
Diffstat (limited to 'src/mod_gnutls.c')
-rw-r--r-- | src/mod_gnutls.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/mod_gnutls.c b/src/mod_gnutls.c index a2c36ee..84440d0 100644 --- a/src/mod_gnutls.c +++ b/src/mod_gnutls.c | |||
@@ -54,7 +54,6 @@ static void gnutls_hooks(apr_pool_t * p) | |||
54 | AP_FTYPE_CONNECTION + 5); | 54 | AP_FTYPE_CONNECTION + 5); |
55 | } | 55 | } |
56 | 56 | ||
57 | |||
58 | static const command_rec mgs_config_cmds[] = { | 57 | static const command_rec mgs_config_cmds[] = { |
59 | AP_INIT_TAKE1("GnuTLSClientVerify", mgs_set_client_verify, | 58 | AP_INIT_TAKE1("GnuTLSClientVerify", mgs_set_client_verify, |
60 | NULL, | 59 | NULL, |
@@ -81,16 +80,24 @@ static const command_rec mgs_config_cmds[] = { | |||
81 | RSRC_CONF, | 80 | RSRC_CONF, |
82 | "Cache Configuration"), | 81 | "Cache Configuration"), |
83 | AP_INIT_TAKE1("GnuTLSEnable", mgs_set_enabled, | 82 | AP_INIT_TAKE1("GnuTLSEnable", mgs_set_enabled, |
84 | NULL, RSRC_CONF, | 83 | NULL, |
84 | RSRC_CONF, | ||
85 | "Whether this server has GnuTLS Enabled. Default: Off"), | 85 | "Whether this server has GnuTLS Enabled. Default: Off"), |
86 | 86 | AP_INIT_RAW_ARGS("<GnuTLSRequire", mgs_set_require_section, | |
87 | NULL, | ||
88 | EXEC_ON_READ|OR_ALL, | ||
89 | "Whether this server has GnuTLS Enabled. Default: Off"), | ||
90 | AP_INIT_RAW_ARGS("GnuTLSRequireByteCode", mgs_set_require_bytecode, | ||
91 | NULL, | ||
92 | OR_ALL, | ||
93 | "Internal Command for reading Lua Bytecode."), | ||
87 | {NULL} | 94 | {NULL} |
88 | }; | 95 | }; |
89 | 96 | ||
90 | module AP_MODULE_DECLARE_DATA gnutls_module = { | 97 | module AP_MODULE_DECLARE_DATA gnutls_module = { |
91 | STANDARD20_MODULE_STUFF, | 98 | STANDARD20_MODULE_STUFF, |
92 | mgs_config_dir_create, | 99 | mgs_config_dir_create, |
93 | NULL, | 100 | mgs_config_dir_merge, |
94 | mgs_config_server_create, | 101 | mgs_config_server_create, |
95 | NULL, | 102 | NULL, |
96 | mgs_config_cmds, | 103 | mgs_config_cmds, |