Bad primeCertainty value setting in DSAParameterGenerator

XMLWordPrintable

        The recent JDK-8072452 fix places a bad initial value of 80 on the primeCertainty variable and negates a value check done later in the same code :

        http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/annotate/6920e7e273e6/src/share/classes/sun/security/provider/DSAParameterGenerator.java#l208

        we should set the value to -1 as per another recent fix done in this area via JDK-8181048

        JDK 10 code looks ok.

              Assignee:
              Andrew Hughes
              Reporter:
              Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: