From d0c11e9d7261e01d3ac81ad952aed6711d18ffd8 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Tue, 31 May 2005 13:13:18 +0000 Subject: [PATCH] Fix warnings. --- engines/e_4758cca.c | 2 ++ engines/e_chil.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/engines/e_4758cca.c b/engines/e_4758cca.c index e7f308e314..7d850a854b 100644 --- a/engines/e_4758cca.c +++ b/engines/e_4758cca.c @@ -202,8 +202,10 @@ static RAND_METHOD ibm_4758_cca_rand = static const char *engine_4758_cca_id = "4758cca"; static const char *engine_4758_cca_name = "IBM 4758 CCA hardware engine support"; +#ifndef OPENSSL_NO_DYNAMIC_ENGINE /* Compatibility hack, the dynamic library uses this form in the path */ static const char *engine_4758_cca_id_alt = "4758_cca"; +#endif /* engine implementation */ /*-----------------------*/ diff --git a/engines/e_chil.c b/engines/e_chil.c index b5d0a62e7a..2ef96f9ae6 100644 --- a/engines/e_chil.c +++ b/engines/e_chil.c @@ -224,8 +224,11 @@ static RAND_METHOD hwcrhk_rand = /* Constants used when creating the ENGINE */ static const char *engine_hwcrhk_id = "chil"; static const char *engine_hwcrhk_name = "CHIL hardware engine support"; + +#ifndef OPENSSL_NO_DYNAMIC_ENGINE /* Compatibility hack, the dynamic library uses this form in the path */ static const char *engine_hwcrhk_id_alt = "ncipher"; +#endif /* Internal stuff for HWCryptoHook */ -- 2.25.1