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

_parseKey should return false by default #1503

Merged
merged 1 commit into from
Aug 1, 2020
Merged

_parseKey should return false by default #1503

merged 1 commit into from
Aug 1, 2020

Conversation

VincentLanglet
Copy link
Contributor

If you try to use setKey with a non supported type, you handle with an exception.
Indeed the method _parseKey will return null but the check made after is === false.

This fix, should be made in 2.0 too. I assume you'll merge 1.0 into 2.0.

@terrafrost terrafrost merged commit a019cf3 into phpseclib:1.0 Aug 1, 2020
@VincentLanglet VincentLanglet deleted the default branch August 1, 2020 09:16
@terrafrost
Copy link
Member

Merged to 2.0!

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.

None yet

2 participants