Skip to content

Commit

Permalink
Fix potential zeroizer removal (Issue 331)
Browse files Browse the repository at this point in the history
  • Loading branch information
noloader committed Nov 1, 2016
1 parent 84b602c commit 856c7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ void CAST256::Base::UncheckedSetKey(const byte *userKey, unsigned int keylength,
}
}

memset(kappa, 0, sizeof(kappa));
SecureWipeBuffer(kappa, 8);
}

NAMESPACE_END

0 comments on commit 856c7c5

Please sign in to comment.