Skip to content

Commit

Permalink
fixed compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmorgner committed Oct 23, 2023
1 parent 7c5f8ee commit e128932
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pkcs11/framework-pkcs15.c
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,9 @@ pkcs15_logout(struct sc_pkcs11_slot *slot)
struct sc_pkcs11_card *p11card = slot->p11card;
struct pkcs15_fw_data *fw_data = NULL;
CK_RV ret = CKR_OK;
#if !(defined(SW_PIN_LOGOUT_ONLY) && SW_PIN_LOGOUT_ONLY == 1)
int rc;
#endif

if (!p11card)
return sc_to_cryptoki_error(SC_ERROR_INVALID_CARD, "C_Logout");
Expand Down

0 comments on commit e128932

Please sign in to comment.