From df4f3e65225f0cf4d00b56c3a92702c20f138b52 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 29 Nov 2017 17:13:51 +0100 Subject: Hide an enum definition --- src/sp_config.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/sp_config.h') 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; typedef struct { bool enable; } sp_config_disable_xxe; -enum samesite_type {strict=1, lax=2}; - typedef struct { - enum samesite_type samesite; + enum samesite_type {strict=1, lax=2} samesite; bool encrypt; } sp_cookie; -- cgit v1.3