From 883a0dfbf26e3748f030e5f58b0d2ceb3b604f48 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 18 Nov 2021 21:22:41 +0000 Subject: [PATCH] gost2814789t: EVP_MD_CTX_cleanup -> EVP_MD_CTX_reset --- 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 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) -- 2.20.1