Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: Prevent errors thrown inside passed in callback to be mistake… #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ujasur
Copy link

@ujasur ujasur commented Oct 4, 2018

…nly reported as verification error

Actual signature verification and result of verification is occurring inside try catch block. If user passed callback throws an exception then it is reported as verification error, and it also causes the callback to be called twice.

Issue #, if available:

Description of changes:
Took out callback call from try catch block

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…nly reported as verification error

Actual signature verification and result of verification is occuring inside try catch block. For some reason user passed callback function throws an error it is being reported as verification error and also it causes the callback to be called twice.
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.

1 participant