Ignore CKR_ALREADY_INITIALIZED return code

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: