summaryrefslogtreecommitdiffstats
path: root/test/sha512t.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sha512t.c')
-rw-r--r--test/sha512t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sha512t.c b/test/sha512t.c
index 215a71fd0f..dff19aaa57 100644
--- a/test/sha512t.c
+++ b/test/sha512t.c
@@ -132,7 +132,7 @@ int main(int argc, char **argv)
"aaaaaaaa" "aaaaaaaa" "aaaaaaaa" "aaaaaaaa",
(1000000 - i) < 288 ? 1000000 - i : 288);
EVP_DigestFinal_ex(evp, md, NULL);
- EVP_MD_CTX_cleanup(evp);
+ EVP_MD_CTX_init(evp);
if (memcmp(md, app_c3, sizeof(app_c3))) {
fflush(stdout);