Skip to content

Commit

Permalink
fix inconsistent naming of parameters of sc_verify() (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamarituc committed Feb 14, 2024
1 parent 8f760ff commit 1774fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libopensc/opensc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1377,8 +1377,8 @@ int sc_decipher(struct sc_card *card, const u8 * crgram, size_t crgram_len,
u8 * out, size_t outlen);
int sc_compute_signature(struct sc_card *card, const u8 * data,
size_t data_len, u8 * out, size_t outlen);
int sc_verify(struct sc_card *card, unsigned int type, int ref, const u8 *buf,
size_t buflen, int *tries_left);
int sc_verify(struct sc_card *card, unsigned int type, int ref, const u8 *pin,
size_t pinlen, int *tries_left);
/**
* Resets the security status of the card (i.e. withdraw all granted
* access rights). Note: not all card operating systems support a logout
Expand Down

0 comments on commit 1774fd0

Please sign in to comment.