aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-04-19 13:24:44 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-04-19 13:24:44 +0000
commit987bebaf8c2232ef1d0a9169eb56570e3a0753b8 (patch)
treefdf1e79f3b344df951c46f395451fd0b2c2bf322 /crypto/engine
parent65f0efe198fa6d4bf1b42bc42e80c2dcaa2813c9 (diff)
downloadopenssl-987bebaf8c2232ef1d0a9169eb56570e3a0753b8.tar.gz
New "algorithm define" OPENSSL_NO_GMP. Update mkdef.pl and Configure script
to use it.
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/eng_all.c2
-rw-r--r--crypto/engine/engine.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c
index 93c54d0f6f..86b2f9a1c3 100644
--- a/crypto/engine/eng_all.c
+++ b/crypto/engine/eng_all.c
@@ -102,7 +102,7 @@ void ENGINE_load_builtin_engines(void)
#if defined(__OpenBSD__) || defined(__FreeBSD__)
ENGINE_load_cryptodev();
#endif
-#if defined(OPENSSL_USE_GMP) && !defined(OPENSSL_NO_HW_GMP)
+#if !defined(OPENSSL_NO_GMP) && !defined(OPENSSL_NO_HW_GMP)
ENGINE_load_gmp();
#endif
#endif
diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h
index 14fefea474..e25090c90c 100644
--- a/crypto/engine/engine.h
+++ b/crypto/engine/engine.h
@@ -341,7 +341,9 @@ void ENGINE_load_aep(void);
void ENGINE_load_atalla(void);
void ENGINE_load_chil(void);
void ENGINE_load_cswift(void);
+#ifndef OPENSSL_NO_GMP
void ENGINE_load_gmp(void);
+#endif
void ENGINE_load_nuron(void);
void ENGINE_load_sureware(void);
void ENGINE_load_ubsec(void);