Prefix the hybrid_corner_case test with test_ for consistency.
authortb <tb@openbsd.org>
Mon, 3 May 2021 14:49:37 +0000 (14:49 +0000)
committertb <tb@openbsd.org>
Mon, 3 May 2021 14:49:37 +0000 (14:49 +0000)
regress/lib/libcrypto/ec/ec_point_conversion.c

index 2c15f38..9bd7884 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ec_point_conversion.c,v 1.3 2021/05/03 14:48:10 tb Exp $ */
+/*     $OpenBSD: ec_point_conversion.c,v 1.4 2021/05/03 14:49:37 tb Exp $ */
 /*
  * Copyright (c) 2021 Theo Buehler <tb@openbsd.org>
  * Copyright (c) 2021 Joel Sing <jsing@openbsd.org>
@@ -110,7 +110,7 @@ roundtrip(EC_GROUP *group, EC_POINT *point, int form, BIGNUM *x, BIGNUM *y)
 }
 
 static int
-hybrid_corner_case(void)
+test_hybrid_corner_case(void)
 {
        BIGNUM *x = NULL, *y = NULL;
        EC_GROUP *group;
@@ -879,7 +879,7 @@ main(int argc, char **argv)
        int failed = 0;
 
        failed |= test_random_points();
-       failed |= hybrid_corner_case();
+       failed |= test_hybrid_corner_case();
        failed |= test_point_conversions();
 
        fprintf(stderr, "%s\n", failed ? "FAILED" : "SUCCESS");