diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-24 11:59:46 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-24 12:41:24 +0100 |
commit | 6c0a33f2dc9b3580b4bf3d10d13eda81eaa43e2a (patch) | |
tree | 7d8ac5354fdbc749121437b8cfc41ad04913105f | |
parent | c5128fb7fc5664e8c07e1d4e502d44733aebffc3 (diff) | |
download | php-git-6c0a33f2dc9b3580b4bf3d10d13eda81eaa43e2a.tar.gz |
Add skipif for argon2id in test
If argon2i is provided by libargon, then argon2id may not be
available here.
-rw-r--r-- | ext/sodium/tests/bug78516.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sodium/tests/bug78516.phpt b/ext/sodium/tests/bug78516.phpt index 524b233518..0347d33273 100644 --- a/ext/sodium/tests/bug78516.phpt +++ b/ext/sodium/tests/bug78516.phpt @@ -3,6 +3,7 @@ Bug #78516 (password_hash(): Memory cost is not in allowed range) --SKIPIF-- <?php if (!extension_loaded('sodium')) die('skip sodium extension not available'); +if (!defined('PASSWORD_ARGON2ID')) die('skip PASSWORD_ARGON2ID not available'); ?> --FILE-- <?php |