summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index 6d091ae..b8fd679 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -55,10 +55,8 @@ typedef struct { bool enable; } sp_config_auto_cookie_secure;
55 55
56typedef struct { bool enable; } sp_config_disable_xxe; 56typedef struct { bool enable; } sp_config_disable_xxe;
57 57
58enum samesite_type {strict=1, lax=2};
59
60typedef struct { 58typedef struct {
61 enum samesite_type samesite; 59 enum samesite_type {strict=1, lax=2} samesite;
62 bool encrypt; 60 bool encrypt;
63} sp_cookie; 61} sp_cookie;
64 62