Skip to content

Commit c3aa913

Browse files
committed
Fix argon2 test if provided by sodium
1 parent 7fc29c9 commit c3aa913

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/standard/tests/password/password_hash_error_argon2.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Test error operation of password_hash() with Argon2i and Argon2id
44
<?php
55
if (!defined('PASSWORD_ARGON2I')) die('skip password_hash not built with Argon2');
66
if (!defined('PASSWORD_ARGON2ID')) die('skip password_hash not built with Argon2');
7+
if (PASSWORD_ARGON2_PROVIDER != 'standard') die('skip argon2 not provided by standard');
78
?>
89
--FILE--
910
<?php

0 commit comments

Comments
 (0)