fixed copy/paste error

This commit is contained in:
Frank Morgner 2018-06-20 00:56:01 +02:00
parent 8b3f5b7d97
commit 9c2afad417
3 changed files with 3 additions and 3 deletions

View File

@ -1674,7 +1674,7 @@ authentic_get_challenge(struct sc_card *card, unsigned char *rnd, size_t len)
LOG_FUNC_CALLED(card->ctx);
r = iso_ops->get_challenge(card, rnd, sizeof rbuf);
r = iso_ops->get_challenge(card, rbuf, sizeof rbuf);
LOG_TEST_RET(card->ctx, r, "GET CHALLENGE cmd failed");
if (len < (size_t) r) {

View File

@ -2582,7 +2582,7 @@ epass2003_get_challenge(sc_card_t *card, u8 *rnd, size_t len)
LOG_FUNC_CALLED(card->ctx);
r = iso_ops->get_challenge(card, rnd, sizeof rbuf);
r = iso_ops->get_challenge(card, rbuf, sizeof rbuf);
LOG_TEST_RET(card->ctx, r, "GET CHALLENGE cmd failed");
if (len < (size_t) r) {

View File

@ -1145,7 +1145,7 @@ static int rutoken_get_challenge(sc_card_t *card, u8 *rnd, size_t len)
LOG_FUNC_CALLED(card->ctx);
r = iso_ops->get_challenge(card, rnd, sizeof rbuf);
r = iso_ops->get_challenge(card, rbuf, sizeof rbuf);
LOG_TEST_RET(card->ctx, r, "GET CHALLENGE cmd failed");
if (len < (size_t) r) {