summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2017-11-29 17:13:51 +0100
committerjvoisin2017-11-29 17:13:51 +0100
commitdf4f3e65225f0cf4d00b56c3a92702c20f138b52 (patch)
treee5bfb75fc8f8365d18125585ddd5e2af44d9e7b2
parent61ebd0ef1ba1f0f2ba2661830ca931ffc00942fd (diff)
Hide an enum definition
-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