Fix no-ec

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3321)
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index 80737f9..d780161 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -196,7 +196,9 @@
 static APK_DATA keydata[] = {
     {kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), EVP_PKEY_RSA},
     {kExampleRSAKeyPKCS8, sizeof(kExampleRSAKeyPKCS8), EVP_PKEY_RSA},
+#ifndef OPENSSL_NO_EC
     {kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC}
+#endif
 };
 
 static EVP_PKEY *load_example_rsa_key(void)