Fix potential zeroizer removal (Issue 331)

pull/339/head
Jeffrey Walton 2016-10-31 22:34:59 -04:00
parent 84b602cc7d
commit 856c7c56ad
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ void CAST256::Base::UncheckedSetKey(const byte *userKey, unsigned int keylength,
} }
} }
memset(kappa, 0, sizeof(kappa)); SecureWipeBuffer(kappa, 8);
} }
NAMESPACE_END NAMESPACE_END