summaryrefslogtreecommitdiff
path: root/src/sp_cookie_encryption.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_cookie_encryption.c')
-rw-r--r--src/sp_cookie_encryption.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_cookie_encryption.c b/src/sp_cookie_encryption.c
index 1b59e44..31dde95 100644
--- a/src/sp_cookie_encryption.c
+++ b/src/sp_cookie_encryption.c
@@ -45,9 +45,9 @@ static zend_string *encrypt_data(zend_string *data) {
45PHP_FUNCTION(sp_setcookie) { 45PHP_FUNCTION(sp_setcookie) {
46 zend_string *name = NULL, *value = NULL, *path = NULL, *domain = NULL, *value_enc = NULL, 46 zend_string *name = NULL, *value = NULL, *path = NULL, *domain = NULL, *value_enc = NULL,
47#if PHP_VERSION_ID < 70300 47#if PHP_VERSION_ID < 70300
48 *path_samesite = NULL; 48 *path_samesite = NULL;
49#else 49#else
50 *samesite = NULL; 50 *samesite = NULL;
51#endif 51#endif
52 52
53 zend_long expires = 0; 53 zend_long expires = 0;