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

Copy-paste mistake in EcdhTest.java #23

Closed
internot opened this issue Feb 3, 2017 · 1 comment
Closed

Copy-paste mistake in EcdhTest.java #23

internot opened this issue Feb 3, 2017 · 1 comment

Comments

@internot
Copy link

internot commented Feb 3, 2017

In https://github.com/google/wycheproof/blob/master/java/com/google/security/wycheproof/testcases/EcdhTest.java#L867 in method testDecode() there appears to be a copy-paste mistake:

ECParameterSpec params2 = key1.getParams(); // should be key2

This makes the following asserts to always be true.

@thaidn
Copy link
Contributor

thaidn commented Feb 3, 2017

Thanks. I'll send a PR.

thaidn added a commit to thaidn/wycheproof that referenced this issue Feb 3, 2017
@thaidn thaidn closed this as completed in 62e1bf0 Feb 3, 2017
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

No branches or pull requests

2 participants