Merge pull request #5196 from douzzer/20220601-multi-test-fixes

pull/5204/head
Hayden Roche 2022-06-01 11:41:26 -07:00 committed by GitHub
commit 8b9d2ad657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -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
* NULL).
*/
if (ctx->gcmAuthIn != NULL) {
XMEMSET(ctx->gcmAuthIn, 0, ctx->gcmAuthInSz);
}
ctx->gcmAuthInSz = 0;
}
if (ret == 0) {