From 16b62b61c0de11f9b89c4805a9b37e9bbc2ec12f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Sep 2024 14:20:25 +0200 Subject: dup 8.3 --- php-8.0.7-argon2.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 php-8.0.7-argon2.patch (limited to 'php-8.0.7-argon2.patch') diff --git a/php-8.0.7-argon2.patch b/php-8.0.7-argon2.patch new file mode 100644 index 0000000..88018de --- /dev/null +++ b/php-8.0.7-argon2.patch @@ -0,0 +1,15 @@ +diff --git a/ext/sodium/sodium_pwhash.c b/ext/sodium/sodium_pwhash.c +index e58a9514cc..86cc06cd91 100644 +--- a/ext/sodium/sodium_pwhash.c ++++ b/ext/sodium/sodium_pwhash.c +@@ -62,10 +62,6 @@ static inline int get_options(zend_array *options, size_t *memlimit, size_t *ops + return FAILURE; + } + } +- if ((opt = zend_hash_str_find(options, "threads", strlen("threads"))) && (zval_get_long(opt) != 1)) { +- zend_value_error("A thread value other than 1 is not supported by this implementation"); +- return FAILURE; +- } + return SUCCESS; + } + -- cgit