test/chacha: replace CPUID_OBJ with OPENSSL_CPUID_OBJ
authorMin Zhou <zhoumin@loongson.cn>
Wed, 6 Sep 2023 03:52:26 +0000 (11:52 +0800)
committerTomas Mraz <tomas@openssl.org>
Thu, 7 Sep 2023 12:58:11 +0000 (14:58 +0200)
Fixes #21977

Signed-off-by: Min Zhou <zhoumin@loongson.cn>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21978)

(cherry picked from commit e6b6b18af3e85a6b5f0d8ea1070f7070557d6357)

test/chacha_internal_test.c

index 878bd752e054bb70d56c9fd4ddd590154afba3eb..d52479b6584d893ee1b976140ed727ef49220597 100644 (file)
@@ -181,7 +181,7 @@ static int test_cha_cha_internal(int n)
 
 int setup_tests(void)
 {
-#ifdef CPUID_OBJ
+#ifdef OPENSSL_CPUID_OBJ
     OPENSSL_cpuid_setup();
 #endif