Fix warning in Core/Hash/Internal.cpp (with clang).

Former-commit-id: cae3d27e8cea49732395a341a744a7ffd9a650ab
This commit is contained in:
=
2013-07-04 13:37:58 +02:00
parent 644aa1e546
commit d0f184b0bc

View File

@@ -1031,8 +1031,6 @@ void SHA512_End(SHA_CTX* context, nzUInt8* digest)
#endif
}
/* Zero out state data */
std::memset(context, 0, sizeof(context));
}
@@ -1071,6 +1069,4 @@ void SHA384_End(SHA_CTX* context, nzUInt8* digest)
#endif
}
/* Zero out state data */
std::memset(context, 0, sizeof(context));
}