Fix warning in Core/Hash/Internal.cpp (with clang).
Former-commit-id: cae3d27e8cea49732395a341a744a7ffd9a650ab
This commit is contained in:
parent
644aa1e546
commit
d0f184b0bc
|
|
@ -1031,8 +1031,6 @@ void SHA512_End(SHA_CTX* context, nzUInt8* digest)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Zero out state data */
|
|
||||||
std::memset(context, 0, sizeof(context));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1071,6 +1069,4 @@ void SHA384_End(SHA_CTX* context, nzUInt8* digest)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Zero out state data */
|
|
||||||
std::memset(context, 0, sizeof(context));
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue