mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Merge pull request #5196 from douzzer/20220601-multi-test-fixes
This commit is contained in:
@@ -5864,7 +5864,9 @@ int wolfSSL_EVP_MD_type(const WOLFSSL_EVP_MD* type)
|
|||||||
* Clear any leftover AAD on final (final is when src is
|
* Clear any leftover AAD on final (final is when src is
|
||||||
* NULL).
|
* NULL).
|
||||||
*/
|
*/
|
||||||
XMEMSET(ctx->gcmAuthIn, 0, ctx->gcmAuthInSz);
|
if (ctx->gcmAuthIn != NULL) {
|
||||||
|
XMEMSET(ctx->gcmAuthIn, 0, ctx->gcmAuthInSz);
|
||||||
|
}
|
||||||
ctx->gcmAuthInSz = 0;
|
ctx->gcmAuthInSz = 0;
|
||||||
}
|
}
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
|
Reference in New Issue
Block a user