summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-11-18 21:26:55 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-11-18 21:26:55 +0000
commite148003d7f11963a9d4d6194d982e80b8ac88031 (patch)
treec83e6e00f4d0e6e04c1365f33e79504858fc9cdb /regress/lib
parenta1c1f9ed3edfba005c1b33551df89e22de2c7670 (diff)
gost: missed one cleanup
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/gost/gost2814789t.c4
1 files 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;