lib: clear secrets in auth api
This commit is contained in:
@@ -1849,6 +1849,7 @@ ykpiv_rc ykpiv_auth_verifyresponse(ykpiv_state *state, uint8_t *response, const
|
|||||||
|
|
||||||
Cleanup:
|
Cleanup:
|
||||||
|
|
||||||
|
yc_memzero(&apdu, sizeof(apdu));
|
||||||
_ykpiv_end_transaction(state);
|
_ykpiv_end_transaction(state);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user