diff options
| author | kkadosh | 2018-05-29 19:34:16 +0000 |
|---|---|---|
| committer | jvoisin | 2018-05-29 19:34:16 +0000 |
| commit | 7832438b7abedf567ce6376f99949f419abcdff1 (patch) | |
| tree | 560e43918d1dc36ce4cf760a5b27aed0c563bc1c /src/sp_config.h | |
| parent | 9eebe8c67e03e3041d454ea28e93996f7a67740b (diff) | |
Support session encryption
Implement session encryption.
Diffstat (limited to 'src/sp_config.h')
| -rw-r--r-- | src/sp_config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h index e537ec2..b44960f 100644 --- a/src/sp_config.h +++ b/src/sp_config.h | |||
| @@ -66,6 +66,11 @@ typedef struct { | |||
| 66 | } sp_cookie; | 66 | } sp_cookie; |
| 67 | 67 | ||
| 68 | typedef struct { | 68 | typedef struct { |
| 69 | bool encrypt; | ||
| 70 | bool simulation; | ||
| 71 | } sp_config_session; | ||
| 72 | |||
| 73 | typedef struct { | ||
| 69 | bool enable; | 74 | bool enable; |
| 70 | bool simulation; | 75 | bool simulation; |
| 71 | char *dump; | 76 | char *dump; |
| @@ -158,6 +163,7 @@ typedef struct { | |||
| 158 | sp_config_disable_xxe *config_disable_xxe; | 163 | sp_config_disable_xxe *config_disable_xxe; |
| 159 | sp_config_disabled_constructs *config_disabled_constructs; | 164 | sp_config_disabled_constructs *config_disabled_constructs; |
| 160 | sp_config_eval *config_eval; | 165 | sp_config_eval *config_eval; |
| 166 | sp_config_session *config_session; | ||
| 161 | } sp_config; | 167 | } sp_config; |
| 162 | 168 | ||
| 163 | typedef struct { | 169 | typedef struct { |
| @@ -175,6 +181,7 @@ typedef struct { | |||
| 175 | 181 | ||
| 176 | #define SP_TOKEN_AUTO_COOKIE_SECURE ".auto_cookie_secure" | 182 | #define SP_TOKEN_AUTO_COOKIE_SECURE ".auto_cookie_secure" |
| 177 | #define SP_TOKEN_COOKIE_ENCRYPTION ".cookie" | 183 | #define SP_TOKEN_COOKIE_ENCRYPTION ".cookie" |
| 184 | #define SP_TOKEN_SESSION_ENCRYPTION ".session" | ||
| 178 | #define SP_TOKEN_DISABLE_FUNC ".disable_function" | 185 | #define SP_TOKEN_DISABLE_FUNC ".disable_function" |
| 179 | #define SP_TOKEN_GLOBAL ".global" | 186 | #define SP_TOKEN_GLOBAL ".global" |
| 180 | #define SP_TOKEN_GLOBAL_STRICT ".global_strict" | 187 | #define SP_TOKEN_GLOBAL_STRICT ".global_strict" |
