RFR: 8252377: Incorrect encoding for EC AlgorithmIdentifier

Weijun Wang weijun at openjdk.java.net
Wed Sep 23 02:52:20 UTC 2020


On Tue, 22 Sep 2020 22:21:20 GMT, Hai-May Chao <hchao at openjdk.org> wrote:

> This change fixes the DER encoding for ECDSA AlgorithmIdentifier to omit the parameters field instead of encoding a
> Null tag.

I don't quite understand what the test is for. The bug is about encoding but the test seems to be decoding the
certificates. Does the test fail before this fix and succeed after it?

-------------

PR: https://git.openjdk.java.net/jdk/pull/312



More information about the security-dev mailing list