Skip to content

Commit 6c0a33f

Browse files
committed
Add skipif for argon2id in test
If argon2i is provided by libargon, then argon2id may not be available here.
1 parent c5128fb commit 6c0a33f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/sodium/tests/bug78516.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Bug #78516 (password_hash(): Memory cost is not in allowed range)
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('sodium')) die('skip sodium extension not available');
6+
if (!defined('PASSWORD_ARGON2ID')) die('skip PASSWORD_ARGON2ID not available');
67
?>
78
--FILE--
89
<?php

0 commit comments

Comments
 (0)