From fc3c9e3bccf474b0b593d67b9b1d3d9f963e86b2 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 18 Nov 2021 21:26:54 +0000 Subject: [PATCH] gost: missed one cleanup --- regress/lib/libcrypto/gost/gost2814789t.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/gost/gost2814789t.c b/regress/lib/libcrypto/gost/gost2814789t.c index 49f43810d3a..6ba55619844 100644 --- a/regress/lib/libcrypto/gost/gost2814789t.c +++ b/regress/lib/libcrypto/gost/gost2814789t.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gost2814789t.c,v 1.4 2021/11/18 21:22:41 tb Exp $ */ +/* $OpenBSD: gost2814789t.c,v 1.5 2021/11/18 21:26:54 tb Exp $ */ /* vim: set fileencoding=ascii : Charset: ASCII */ /* test/gostr2814789t.c */ /* ==================================================================== @@ -1427,7 +1427,7 @@ engine_cipher_check: } siglen = 4; OPENSSL_assert(EVP_DigestSignFinal(mctx, bTest, &siglen)); - EVP_MD_CTX_cleanup(mctx); + EVP_MD_CTX_reset(mctx); EVP_PKEY_free(mac_key); enlu = (int)tcs[t].ullLen; enlf = 0; -- 2.20.1