summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-11-18 21:22:42 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-11-18 21:22:42 +0000
commit73bd8e4d68dc281e057bd3289396fa5031f1bdfb (patch)
tree1f950e54f0f2e1df980851d8f7913ce8773b6da9
parentfa95961a9ed92300e576544af3be18477bcd304d (diff)
gost2814789t: EVP_MD_CTX_cleanup -> EVP_MD_CTX_reset
-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 637e63eb885..49f43810d3a 100644
--- a/regress/lib/libcrypto/gost/gost2814789t.c
+++ b/regress/lib/libcrypto/gost/gost2814789t.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gost2814789t.c,v 1.3 2021/11/18 15:18:25 tb Exp $ */
+/* $OpenBSD: gost2814789t.c,v 1.4 2021/11/18 21:22:41 tb Exp $ */
/* vim: set fileencoding=ascii : Charset: ASCII */
/* test/gostr2814789t.c */
/* ====================================================================
@@ -1396,7 +1396,7 @@ engine_cipher_check:
enlf = 0;
else
EVP_EncryptFinal_ex(ectx, bTest1, &enlf);
- EVP_CIPHER_CTX_cleanup(ectx);
+ EVP_CIPHER_CTX_reset(ectx);
break;
case G89_IMIT:
if ((mctx = EVP_MD_CTX_new()) == NULL)