diff options
| author | BeF | 2022-07-20 12:15:07 +0200 |
|---|---|---|
| committer | GitHub | 2022-07-20 12:15:07 +0200 |
| commit | 2aed4220c2d019cc9b46fec70cfd79d249498e14 (patch) | |
| tree | e7cc3d1d4db617fc5ab1dbcc60f2366407eb5da5 /src/sp_unserialize.c | |
| parent | 72109c9bf016145364b19162a5ff998fc5858a9c (diff) | |
| parent | 75595945d1d868fbd6db743809ca8a3eb5de3113 (diff) | |
Merge pull request #1 from jvoisin/pr1
pr for fetching upstream
Diffstat (limited to 'src/sp_unserialize.c')
| -rw-r--r-- | src/sp_unserialize.c | 2 |
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 | ||
| 11 | static zend_string *sp_do_hash_hmac_sha256(char *data, size_t data_len, char *key, size_t key_len) | 11 | static 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")); |
