Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Conversation

@bluebaroncanada
Copy link

@bluebaroncanada bluebaroncanada commented Jul 14, 2017

Throwing should be inside this private function for proper separation of concerns.

hash_hmac returns false when the algorithm does not exist, but it is not checked. Added checking and a test. They recently did remove non-cryptographic algorithms, so it might be a good idea to check.

The hash_algos function isn't sufficient, though. Working on a patch for php_src.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants