summaryrefslogtreecommitdiff
path: root/src/sp_unserialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_unserialize.c')
-rw-r--r--src/sp_unserialize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_unserialize.c b/src/sp_unserialize.c
index 2e7c173..64cf1b5 100644
--- a/src/sp_unserialize.c
+++ b/src/sp_unserialize.c
@@ -8,7 +8,7 @@ static inline void *php_hash_alloc_context(const php_hash_ops *ops) {
8} 8}
9#endif 9#endif
10 10
11static zend_string *sp_do_hash_hmac_sha256(char *data, size_t data_len, char *key, size_t key_len) 11static zend_string *sp_do_hash_hmac_sha256(char* restrict data, size_t data_len, char* restrict key, size_t key_len)
12{ 12{
13#if PHP_VERSION_ID < 80000 13#if PHP_VERSION_ID < 80000
14 const php_hash_ops *ops = php_hash_fetch_ops(ZEND_STRL("sha256")); 14 const php_hash_ops *ops = php_hash_fetch_ops(ZEND_STRL("sha256"));