Replace more occurrences of OBJ_NAME_do_all_sorted() with
authortb <tb@openbsd.org>
Sun, 21 Jan 2024 19:08:59 +0000 (19:08 +0000)
committertb <tb@openbsd.org>
Sun, 21 Jan 2024 19:08:59 +0000 (19:08 +0000)
OBJ_NAME_do_all()

regress/lib/libcrypto/evp/evp_test.c

index 3bd4fb1..2c9aee2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: evp_test.c,v 1.15 2024/01/15 15:00:13 tb Exp $ */
+/*     $OpenBSD: evp_test.c,v 1.16 2024/01/21 19:08:59 tb Exp $ */
 /*
  * Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
  * Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
@@ -727,18 +727,15 @@ obj_name_do_all_test(void)
        int failure = 0;
 
        memset(&arg, 0, sizeof(arg));
-       /* XXX - replace with OBJ_NAME_do_all() after next bump. */
-       OBJ_NAME_do_all_sorted(OBJ_NAME_TYPE_CIPHER_METH, obj_name_cb, &arg);
+       OBJ_NAME_do_all(OBJ_NAME_TYPE_CIPHER_METH, obj_name_cb, &arg);
        failure |= arg.failure;
 
        memset(&arg, 0, sizeof(arg));
-       /* XXX - replace with OBJ_NAME_do_all() after next bump. */
-       OBJ_NAME_do_all_sorted(OBJ_NAME_TYPE_MD_METH, obj_name_cb, &arg);
+       OBJ_NAME_do_all(OBJ_NAME_TYPE_MD_METH, obj_name_cb, &arg);
        failure |= arg.failure;
 
        memset(&arg, 0, sizeof(arg));
-       /* XXX - replace with OBJ_NAME_do_all() after next bump. */
-       OBJ_NAME_do_all_sorted(OBJ_NAME_TYPE_PKEY_METH, obj_name_cb, &arg);
+       OBJ_NAME_do_all(OBJ_NAME_TYPE_PKEY_METH, obj_name_cb, &arg);
        failure |= arg.failure;
 
        return failure;