aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-12-04 20:28:52 +0000
committerAndy Polyakov <appro@openssl.org>2007-12-04 20:28:52 +0000
commit339a1820fdab1448a4e447de40fa2c1c021b2b55 (patch)
tree7b053f7e3173abecce72aa6e9f144d1c22d0c2d7
parentcec2538ca9d053eb905069ea65e4925e9288558c (diff)
downloadopenssl-339a1820fdab1448a4e447de40fa2c1c021b2b55.tar.gz
gmp engine was non-operational.
-rw-r--r--engines/e_gmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/e_gmp.c b/engines/e_gmp.c
index 39da65f74b..3b1f4b9cb9 100644
--- a/engines/e_gmp.c
+++ b/engines/e_gmp.c
@@ -57,10 +57,10 @@
*/
/* This engine is not (currently) compiled in by default. Do enable it,
- * reconfigure OpenSSL with "-DOPENSSL_USE_GMP -lgmp". The GMP libraries and
+ * reconfigure OpenSSL with "enable-gmp -lgmp". The GMP libraries and
* headers must reside in one of the paths searched by the compiler/linker,
* otherwise paths must be specified - eg. try configuring with
- * "-DOPENSSL_USE_GMP -I<includepath> -L<libpath> -lgmp". YMMV. */
+ * "enable-gmp -I<includepath> -L<libpath> -lgmp". YMMV. */
/* As for what this does - it's a largely unoptimised implementation of an
* ENGINE that uses the GMP library to perform RSA private key operations. To
@@ -87,7 +87,7 @@
#include <openssl/engine.h>
#ifndef OPENSSL_NO_HW
-#if defined(OPENSSL_USE_GMP) && !defined(OPENSSL_NO_HW_GMP)
+#ifndef OPENSSL_NO_GMP
#include <gmp.h>
@@ -430,6 +430,6 @@ IMPLEMENT_DYNAMIC_CHECK_FN()
IMPLEMENT_DYNAMIC_BIND_FN(bind_fn)
#endif /* ENGINE_DYNAMIC_SUPPORT */
-#endif /* !OPENSSL_NO_HW_GMP */
+#endif /* !OPENSSL_NO_GMP */
#endif /* !OPENSSL_NO_HW */