git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add new options for broadcast and keepalive intervals
[novacoin.git]
/
src
/
crypter.h
diff --git
a/src/crypter.h
b/src/crypter.h
index
dd5d506
..
68b8803
100644
(file)
--- a/
src/crypter.h
+++ b/
src/crypter.h
@@
-96,8
+96,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;
}