summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2005-06-29 10:25:06 +0000
committerBen Laurie <ben@openssl.org>2005-06-29 10:25:06 +0000
commit45d8574b93e9f1e14c62b765220b370f7c37eaa3 (patch)
tree2e82c66952f2f8a15e0a0817f6badb70209f0425 /engines
parent417f8973ff8367055acd597d0041481122a460c1 (diff)
Fix warnings.
Diffstat (limited to 'engines')
-rw-r--r--engines/e_4758cca.c2
-rw-r--r--engines/e_chil.c2
2 files changed, 4 insertions, 0 deletions
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..4c22bc9cd1 100644
--- a/engines/e_chil.c
+++ b/engines/e_chil.c
@@ -224,8 +224,10 @@ 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 */