diff options
-rw-r--r-- | test/evp_extra_test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c index 74b7e0bcb8..e4a0b180d7 100644 --- a/test/evp_extra_test.c +++ b/test/evp_extra_test.c @@ -1786,6 +1786,12 @@ static int test_signatures_with_engine(int tst) size_t maclen = 0; int ret; +# ifdef OPENSSL_NO_CMAC + /* Skip CMAC tests in a no-cmac build */ + if (tst <= 1) + return 1; +# endif + if (!TEST_ptr(e = ENGINE_by_id(engine_id))) return 0; |