Skip to content

Commit 288a4cf

Browse files
committed
TODO Comment
1 parent 3d58689 commit 288a4cf

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
@@ -1787,6 +1787,7 @@ PHP_FUNCTION(sodium_crypto_pwhash_scryptsalsa208sha256_str_verify)
17871787
RETURN_THROWS();
17881788
}
17891789
if (hash_str_len != crypto_pwhash_scryptsalsa208sha256_STRBYTES - 1) {
1790+
/* Promote to Exception? */
17901791
zend_error(E_WARNING, "wrong size for the hashed password");
17911792
RETURN_FALSE;
17921793
}

0 commit comments

Comments
 (0)