commit 9bb7001813cca94bd925d2f092bbc10e4a9a9fff
parent b49622bb1a037bd5c4f7460cdb454c37fc2cde0f
Author: Joris Vink <joris@coders.se>
Date: Sat, 18 Oct 2014 02:38:21 +0200
Make sure we can still compile with BENCHMARK=1
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/domain.c b/src/domain.c
@@ -178,6 +178,7 @@ kore_domain_load_crl(void)
static void
domain_load_crl(struct kore_domain *dom)
{
+#if !defined(KORE_BENCHMARK)
X509_STORE *store;
ERR_clear_error();
@@ -203,4 +204,5 @@ domain_load_crl(struct kore_domain *dom)
X509_STORE_set_flags(store,
X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL);
+#endif
}