aboutsummaryrefslogtreecommitdiff
path: root/openssl/engines/e_gmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/engines/e_gmp.c')
-rw-r--r--openssl/engines/e_gmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openssl/engines/e_gmp.c b/openssl/engines/e_gmp.c
index a1a2d2bda..c1f5601b6 100644
--- a/openssl/engines/e_gmp.c
+++ b/openssl/engines/e_gmp.c
@@ -85,7 +85,9 @@
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/engine.h>
+#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
+#endif
#include <openssl/bn.h>
#ifndef OPENSSL_NO_HW
@@ -471,6 +473,6 @@ IMPLEMENT_DYNAMIC_BIND_FN(bind_fn)
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_DYNAMIC_ENGINE */
#endif /* !OPENSSL_NO_HW */