git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Force one week max offset for testNet.
[novacoin.git]
/
src
/
crypter.h
diff --git
a/src/crypter.h
b/src/crypter.h
index
04538a3
..
733d9a3
100644
(file)
--- a/
src/crypter.h
+++ b/
src/crypter.h
@@
-76,8
+76,8
@@
public:
void CleanKey()
{
- memset(&chKey, 0, sizeof chKey);
- memset(&chIV, 0, sizeof chIV);
+ OPENSSL_cleanse(&chKey, sizeof chKey);
+ OPENSSL_cleanse(&chIV, sizeof chIV);
fKeySet = false;
}