diff options
author | Andy Polyakov <appro@openssl.org> | 2008-09-12 16:45:54 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2008-09-12 16:45:54 +0200 |
commit | 492279f6f3acaa5365fbb41e4296f87569e4a8f2 (patch) | |
tree | 0e22e331ff48eddd3b5b37955de3ffb98e040d73 /engines/e_gmp.c | |
parent | Add SSL_FIPS flag for FIPS 140-2 approved ciphersuites and add a new (diff) | |
download | openssl-492279f6f3acaa5365fbb41e4296f87569e4a8f2.tar.xz openssl-492279f6f3acaa5365fbb41e4296f87569e4a8f2.zip |
AIX build updates.
Diffstat (limited to '')
-rw-r--r-- | engines/e_gmp.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/engines/e_gmp.c b/engines/e_gmp.c index 97bc2142a1..dc9f295e9b 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. */ -#ifdef ENGINE_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 */ - |