diff options
| author | Ben Fuhrmannek | 2021-09-16 12:43:11 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-09-16 12:43:11 +0200 |
| commit | a99c0b3ba7ebbd27fd62f2bde3963354c2bf55e3 (patch) | |
| tree | 4890517eb3578b3ba015ae9e5c5f88e46f2a33ca /src/sp_config_keywords.c | |
| parent | 6e07cdb870513270a3c08abc7ecdca64ad2af400 (diff) | |
ported sid min/max restriction from suhosin
Diffstat (limited to 'src/sp_config_keywords.c')
| -rw-r--r-- | src/sp_config_keywords.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index 38b8526..bd8a9a1 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c | |||
| @@ -33,6 +33,8 @@ SP_PARSE_FN(parse_session) { | |||
| 33 | {parse_empty, SP_TOKEN_ENCRYPT, &(cfg->encrypt)}, | 33 | {parse_empty, SP_TOKEN_ENCRYPT, &(cfg->encrypt)}, |
| 34 | {parse_empty, SP_TOKEN_SIMULATION, &(cfg->simulation)}, | 34 | {parse_empty, SP_TOKEN_SIMULATION, &(cfg->simulation)}, |
| 35 | {parse_empty, SP_TOKEN_SIM, &(cfg->simulation)}, | 35 | {parse_empty, SP_TOKEN_SIM, &(cfg->simulation)}, |
| 36 | {parse_ulong, SP_TOKEN_SID_MIN_LENGTH, &(cfg->sid_min_length)}, | ||
| 37 | {parse_ulong, SP_TOKEN_SID_MAX_LENGTH, &(cfg->sid_max_length)}, | ||
| 36 | {0, 0, 0}}; | 38 | {0, 0, 0}}; |
| 37 | 39 | ||
| 38 | SP_PROCESS_CONFIG_KEYWORDS_ERR(); | 40 | SP_PROCESS_CONFIG_KEYWORDS_ERR(); |
