aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/otp_test_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/c_src/otp_test_engine.c')
-rw-r--r--lib/crypto/c_src/otp_test_engine.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypto/c_src/otp_test_engine.c b/lib/crypto/c_src/otp_test_engine.c
index fdc60f3bbc..fd26b7cb5d 100644
--- a/lib/crypto/c_src/otp_test_engine.c
+++ b/lib/crypto/c_src/otp_test_engine.c
@@ -104,9 +104,11 @@ static int test_init(ENGINE *e) {
return 111;
- err:
+#if defined(FAKE_RSA_IMPL)
+err:
fprintf(stderr, "Setup RSA_METHOD failed\r\n");
return 0;
+#endif
}
static void add_test_data(unsigned char *md, unsigned int len)