summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto/gost/gost2814789t.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libcrypto/gost/gost2814789t.c')
-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)