From 7832438b7abedf567ce6376f99949f419abcdff1 Mon Sep 17 00:00:00 2001 From: kkadosh Date: Tue, 29 May 2018 19:34:16 +0000 Subject: Support session encryption Implement session encryption.--- src/sp_config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sp_config.h') 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 @@ -65,6 +65,11 @@ typedef struct { bool simulation; } sp_cookie; +typedef struct { + bool encrypt; + bool simulation; +} sp_config_session; + typedef struct { bool enable; bool simulation; @@ -158,6 +163,7 @@ typedef struct { sp_config_disable_xxe *config_disable_xxe; sp_config_disabled_constructs *config_disabled_constructs; sp_config_eval *config_eval; + sp_config_session *config_session; } sp_config; typedef struct { @@ -175,6 +181,7 @@ typedef struct { #define SP_TOKEN_AUTO_COOKIE_SECURE ".auto_cookie_secure" #define SP_TOKEN_COOKIE_ENCRYPTION ".cookie" +#define SP_TOKEN_SESSION_ENCRYPTION ".session" #define SP_TOKEN_DISABLE_FUNC ".disable_function" #define SP_TOKEN_GLOBAL ".global" #define SP_TOKEN_GLOBAL_STRICT ".global_strict" -- cgit v1.3