blob: 73a145255de41aec42e899fef4494ae0309ff0a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/ext/sodium/sodium_pwhash.c b/ext/sodium/sodium_pwhash.c
index 2b284c7116..4a453255e2 100644
--- a/ext/sodium/sodium_pwhash.c
+++ b/ext/sodium/sodium_pwhash.c
@@ -64,10 +64,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)) {
- php_error_docref(NULL, E_WARNING, "A thread value other than 1 is not supported by this implementation");
- return FAILURE;
- }
return SUCCESS;
}
|