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

Some PKCS11Tests are being skipped when they shouldn't

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 26
    • security-libs

      The following tests use PKCS11Test.isBadNSSVersion() to determine if they should be skipped.

      - TestCurves
      - TestECDH2
      - TestECDSA
      - TestECDSA2
      - TestECGenSpec

      The `isBadNSSVersion()` method converts the version number to a double and checks if the version is greater than 3.11 but less than 3.12. The current NSS version number is 3.111 which causes the test to be skipped.

      Update the logic to correctly handle major/minor version numbers. However, because NSS is so far beyond 3.11 and 3.12, can we just remove the method entirely?

            mdonovan Matthew Donovan
            mdonovan Matthew Donovan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: