RFR 10 (XS): 8184673: Fix compatibility issue in AlgorithmChecker for 3rd party JCE providers
Langer, Christoph
christoph.langer at sap.com
Fri Jul 14 18:56:35 UTC 2017
Hi Tony
> > ---
> a/src/java.base/share/classes/sun/security/provider/certpath/AlgorithmChe
> cker.java
> > Thu Jul 13 13:42:39 2017 +0200
> > +++
> b/src/java.base/share/classes/sun/security/provider/certpath/AlgorithmCh
> ecker.java
> > Fri Jul 14 17:35:36 2017 +0200
> >
> > @@ -270,7 +270,7 @@
> >
> > AlgorithmParameters currSigAlgParams =
> > algorithmId.getParameters();
> >
> > PublicKey currPubKey = cert.getPublicKey();
> > - String currSigAlg = ((X509Certificate)cert).getSigAlgName();
> > + currSigAlg = x509Cert.getSigAlgName();
>
> I think you need to prepend with "String " to your change.
Yes, you are right. I had some debug code before which I just removed. I did not build the new version - which I would do before submit.
> Otherwise it looks fine.
Thanks
Christoph
More information about the security-dev
mailing list