There are no ASIdentifiers if OPENSSL_NO_RFC3779 is defined,
therefore the test cannot be compiled.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18634)
(cherry picked from commit
b76efe61ea9710a8f69e1cb8caf1aeb2ba6f1ebe)
(cherry picked from commit
665ab12ed3f0d78e7cb6a55cdd2b83a2fe150232)
return ret;
}
+#ifndef OPENSSL_NO_RFC3779
static int test_asid(void)
{
ASN1_INTEGER *val1 = NULL, *val2 = NULL;
ASIdentifiers_free(asid4);
return testresult;
}
+#endif /* OPENSSL_NO_RFC3779 */
int setup_tests(void)
{
return 0;
ADD_TEST(test_pathlen);
+#ifndef OPENSSL_NO_RFC3779
ADD_TEST(test_asid);
+#endif /* OPENSSL_NO_RFC3779 */
return 1;
}