projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea7a908
)
Fix no-cmac
author
Matt Caswell
<matt@openssl.org>
Fri, 22 Oct 2021 15:09:44 +0000
(16:09 +0100)
committer
Matt Caswell
<matt@openssl.org>
Mon, 25 Oct 2021 10:10:33 +0000
(11:10 +0100)
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16894)
(cherry picked from commit
ef2fb64f9dfde1965cb0b8a5f8765c4f467c1604
)
test/evp_extra_test.c
patch
|
blob
|
history
diff --git
a/test/evp_extra_test.c
b/test/evp_extra_test.c
index b241387b5ead2a10c6b3858450581e25ee692f45..2c604daae99a59b6e05b28aee4e88db08f13f972 100644
(file)
--- a/
test/evp_extra_test.c
+++ b/
test/evp_extra_test.c
@@
-3988,6
+3988,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;