From: tb Date: Mon, 15 Jan 2024 15:00:13 +0000 (+0000) Subject: Switch to EVP_CIPHER_do_all() now that snaps are available on most arches X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4297090b6368d036d0aaee15f52d2fae57ca9278;p=openbsd Switch to EVP_CIPHER_do_all() now that snaps are available on most arches --- diff --git a/regress/lib/libcrypto/evp/evp_test.c b/regress/lib/libcrypto/evp/evp_test.c index ef11089d2c1..3bd4fb11c3f 100644 --- a/regress/lib/libcrypto/evp/evp_test.c +++ b/regress/lib/libcrypto/evp/evp_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: evp_test.c,v 1.14 2024/01/11 16:45:26 tb Exp $ */ +/* $OpenBSD: evp_test.c,v 1.15 2024/01/15 15:00:13 tb Exp $ */ /* * Copyright (c) 2022 Joel Sing * Copyright (c) 2023 Theo Buehler @@ -579,13 +579,11 @@ evp_do_all_test(void) int failure = 0; memset(&arg, 0, sizeof(arg)); - /* XXX - replace with EVP_CIPHER_do_all() after next bump. */ - EVP_CIPHER_do_all_sorted(evp_cipher_do_all_cb, &arg); + EVP_CIPHER_do_all(evp_cipher_do_all_cb, &arg); failure |= arg.failure; memset(&arg, 0, sizeof(arg)); - /* XXX - replace with EVP_MD_do_all() after next bump. */ - EVP_MD_do_all_sorted(evp_md_do_all_cb, &arg); + EVP_MD_do_all(evp_md_do_all_cb, &arg); failure |= arg.failure; return failure;