Skip to content

Conversation

@supervacuus
Copy link

When a user provides an incorrect library during construction, the interface fallback on V2 would panic instead of returning an error: NLnetLabs/kmip2pkcs11#19

This PR

  • adds a new error variant (MissingSymbol), and
  • checks whether required symbol in the V2-fallback, C_GetFunctionList, actually exists in pkcs11_lib before calling it

Signed-off-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
@supervacuus supervacuus force-pushed the fix/error_on_missing_symbol branch from 843b005 to 46e0882 Compare January 18, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant