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

Moved the RSA signing throw into the signing function #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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