summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2008-09-12 14:47:02 +0000
committerAndy Polyakov <appro@openssl.org>2008-09-12 14:47:02 +0000
commit6455100f7a28f11b49c7404f25b98a2359256b72 (patch)
treeeceb9eb90625ede40b5e086478719a18bd11e3af /engines
parentb7c8b4fc9557be535e4feae971e5503dbdce60ad (diff)
AIX build updates [from HEAD].
Diffstat (limited to 'engines')
-rw-r--r--engines/e_capi.c7
-rw-r--r--engines/e_gmp.c15
2 files changed, 17 insertions, 5 deletions
diff --git a/engines/e_capi.c b/engines/e_capi.c
index 7a7064c216..ae0e83746f 100644
--- a/engines/e_capi.c
+++ b/engines/e_capi.c
@@ -1771,4 +1771,11 @@ static int cert_select_dialog(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs)
#endif
#endif
+#else /* !WIN32 */
+#include <openssl/engine.h>
+#ifndef OPENSSL_NO_DYNAMIC_ENGINE
+OPENSSL_EXPORT
+int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { return 0; }
+IMPLEMENT_DYNAMIC_CHECK_FN()
+#endif
#endif
diff --git a/engines/e_gmp.c b/engines/e_gmp.c
index e62e6fcd07..a1a2d2bda6 100644
--- a/engines/e_gmp.c
+++ b/engines/e_gmp.c
@@ -451,9 +451,13 @@ static int e_gmp_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
}
#endif
+#endif /* !OPENSSL_NO_GMP */
+
/* This stuff is needed if this ENGINE is being compiled into a self-contained
* shared-library. */
-#ifndef ENGINE_NO_DYNAMIC_SUPPORT
+#ifndef OPENSSL_NO_DYNAMIC_ENGINE
+IMPLEMENT_DYNAMIC_CHECK_FN()
+#ifndef OPENSSL_NO_GMP
static int bind_fn(ENGINE *e, const char *id)
{
if(id && (strcmp(id, engine_e_gmp_id) != 0))
@@ -462,10 +466,11 @@ static int bind_fn(ENGINE *e, const char *id)
return 0;
return 1;
}
-IMPLEMENT_DYNAMIC_CHECK_FN()
IMPLEMENT_DYNAMIC_BIND_FN(bind_fn)
-#endif /* ENGINE_DYNAMIC_SUPPORT */
+#else
+OPENSSL_EXPORT
+int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { return 0; }
+#endif
+#endif /* OPENSSL_NO_DYNAMIC_ENGINE */
-#endif /* !OPENSSL_NO_GMP */
#endif /* !OPENSSL_NO_HW */
-