From: tb Date: Thu, 18 Nov 2021 21:26:54 +0000 (+0000) Subject: gost: missed one cleanup X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fc3c9e3bccf474b0b593d67b9b1d3d9f963e86b2;p=openbsd gost: missed one cleanup --- 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;