Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8196952

Bad primeCertainty value setting in DSAParameterGenerator

    XMLWordPrintable

    Details

      Backports

        Description

        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.

          Attachments

          1. 8_merge_issue.patch
            4 kB
            Andrew Hughes
          2. 8196952.patch
            4 kB
            Andrew Hughes

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: