Skip to content

Commit

Permalink
Fix argon2 test if provided by sodium
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Feb 24, 2020
1 parent 7fc29c9 commit c3aa913
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Test error operation of password_hash() with Argon2i and Argon2id
<?php
if (!defined('PASSWORD_ARGON2I')) die('skip password_hash not built with Argon2');
if (!defined('PASSWORD_ARGON2ID')) die('skip password_hash not built with Argon2');
if (PASSWORD_ARGON2_PROVIDER != 'standard') die('skip argon2 not provided by standard');
?>
--FILE--
<?php
Expand Down

0 comments on commit c3aa913

Please sign in to comment.