diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-15 15:00:14 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-15 15:00:14 +0000 |
commit | 95f903fc145205979cb19d6647fbb52bc0df34cd (patch) | |
tree | f60785f538bddada26acfc2c1e8257a938decacd /regress | |
parent | 416944548903d786b4841a2b8c615aa28202d902 (diff) |
Switch to EVP_CIPHER_do_all() now that snaps are available on most arches
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/evp/evp_test.c | 8 |
1 files changed, 3 insertions, 5 deletions
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 <jsing@openbsd.org> * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> @@ -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; |