+1
-1
@@ -1214,7 +1214,7 @@ static ykpiv_rc _ykpiv_get_serial(ykpiv_state *state, uint32_t *p_serial, bool f
|
|||||||
memset(apdu.raw, 0, sizeof(apdu));
|
memset(apdu.raw, 0, sizeof(apdu));
|
||||||
apdu.st.ins = YKPIV_INS_GET_SERIAL;
|
apdu.st.ins = YKPIV_INS_GET_SERIAL;
|
||||||
|
|
||||||
if ((res = _send_data(state, &apdu, data, &recv_len, &sw) != YKPIV_OK)) {
|
if ((res = _send_data(state, &apdu, data, &recv_len, &sw)) != YKPIV_OK) {
|
||||||
if(state->verbose) {
|
if(state->verbose) {
|
||||||
fprintf(stderr, "Failed communicating with card: '%s'\n", ykpiv_strerror(res));
|
fprintf(stderr, "Failed communicating with card: '%s'\n", ykpiv_strerror(res));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user