Skip to content

C_GetInterfaceList() returns unexpected values #839

@Jakuje

Description

@Jakuje

While running the p11test from opensc with recent 2.7.0 update, the C_GetInterfaceList called with both NULL arguments returns unexpected return code CKR_SLOT_ID_INVALID , which is

100: C_GetInterfaceList                                
P:42801; T:0x140462040723456 2026-01-13 16:13:18.382   
Returned:  3 CKR_SLOT_ID_INVALID                       

This return code does not make any sense and is not among the list of return codes this function can return:

https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.2/pkcs11-spec-v3.2.html#_Toc195693132

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions