Skip to content

Commit

Permalink
Fix #23 and #2 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
thaidn authored Feb 3, 2017
1 parent fa01b5a commit 62e1bf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ providers in [OpenJDK](http://openjdk.java.net/).

- Install
[Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files](http://stackoverflow.com/questions/6481627/java-security-illegal-key-size-or-default-parameters): this enables tests with large key
sizes. Otherwise you'll see a lot of "iilegal key size" exceptions.
sizes. Otherwise you'll see a lot of "illegal key size" exceptions.

- Check out the tests

Expand Down Expand Up @@ -155,8 +155,8 @@ BouncyCastleTest, SpongyCastleTest or OpenJDKTest -- these targets exclude all
slow tests (which are annotated with @SlowTest).

Most test targets are failing, and each failure might be a security issue. To
learn more about what a failed test means, you might want to check out our
documentation (doc/bugs.md) or the comments on top of the corresponding test
learn more about what a failed test means, you might want to check out [our
documentation](doc/bugs.md) or the comments on top of the corresponding test
function and test class.

### Hall of Bugs
Expand Down Expand Up @@ -193,3 +193,4 @@ If you'd like to talk to our developers or get notified about major new
tests, you may want to subscribe to our
[mailing list](https://groups.google.com/forum/#!forum/wycheproof-users). To
join, simply send an empty mail to wycheproof-users+subscribe@googlegroups.com.

Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ public void testDecode() throws Exception {
ECPublicKey key1 = (ECPublicKey) kf.generatePublic(EC_VALID_PUBLIC_KEY.getSpec());
ECPublicKey key2 = (ECPublicKey) kf.generatePublic(EC_VALID_PUBLIC_KEY.getX509EncodedKeySpec());
ECParameterSpec params1 = key1.getParams();
ECParameterSpec params2 = key1.getParams();
ECParameterSpec params2 = key2.getParams();
assertEquals(params1.getCofactor(), params2.getCofactor());
assertEquals(params1.getCurve(), params2.getCurve());
assertEquals(params1.getGenerator(), params2.getGenerator());
Expand Down

0 comments on commit 62e1bf0

Please sign in to comment.