error isn't an iso error, run ykpiv_strerror() on it
This commit is contained in:
@@ -1025,7 +1025,7 @@ static bool change_pin(ykpiv_state *state, enum enum_action action, const char *
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "Failed changing/unblocking code, error: %x\n", res);
|
fprintf(stderr, "Failed changing/unblocking code, error: %s\n", ykpiv_strerror(res));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user