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

Ignore CKR_ALREADY_INITIALIZED return code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • security-libs

      When a SunPKCS11 provider instance if constructed, it loads the PKCS#11 library and calls C_Initialize(). We expect it to return CKR_OK and fail when we get CKR_ALREADY_INITIALIZED.

      This is an issue with PKCS#11 libraries that may have already been initialized by other code within the Java process. For example, if used within the JES WS/IS, the NSS softtoken may have been initialized already.

            andreas Andreas Sterbenz
            andreas Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: