Skip to content

Commit dd4ed93

Browse files
committed
TODO Comment
1 parent 5cc7ac3 commit dd4ed93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/sodium/libsodium.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,7 @@ PHP_FUNCTION(sodium_crypto_pwhash_scryptsalsa208sha256_str_verify)
17851785
RETURN_THROWS();
17861786
}
17871787
if (hash_str_len != crypto_pwhash_scryptsalsa208sha256_STRBYTES - 1) {
1788+
/* Promote to Exception? */
17881789
zend_error(E_WARNING, "wrong size for the hashed password");
17891790
RETURN_FALSE;
17901791
}

0 commit comments

Comments
 (0)