Skip to content

Fix hash_*() signatures#4014

Merged
muglug merged 1 commit intovimeo:masterfrom
baukevdw:master
Aug 18, 2020
Merged

Fix hash_*() signatures#4014
muglug merged 1 commit intovimeo:masterfrom
baukevdw:master

Conversation

@baukevdw
Copy link
Copy Markdown
Contributor

hash_*() functions can return false when an invalid algorithm is supplied.

See hash hash_hmac hash_hmac_file hash_init hash_pbkdf2

As of PHP 8 theses functions will throw an exception in case an invalid algorithm is supplied.

Functions can return false when an invalid algorithm is supplied
@muglug muglug merged commit 7ac6d2e into vimeo:master Aug 18, 2020
@muglug
Copy link
Copy Markdown
Collaborator

muglug commented Aug 18, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants