lib: use secure zero memory platform functions

This commit is contained in:
Dave Pate
2019-01-07 14:37:30 -08:00
committed by Klas Lindfors
parent 2e72c8f85c
commit 28189201a4
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1146,7 +1146,7 @@ ykpiv_rc ykpiv_util_get_protected_mgm(ykpiv_state *state, ykpiv_mgm *mgm) {
Cleanup:
memset(data, 0, sizeof(data));
yc_memzero(data, sizeof(data));
_ykpiv_end_transaction(state);
return res;