aboutsummaryrefslogtreecommitdiff
path: root/test/rpktest.c
diff options
context:
space:
mode:
authorYi Li <yi1.li@intel.com>2023-04-17 16:20:31 +0800
committerPauli <pauli@openssl.org>2023-06-14 13:06:22 +1000
commit4032cd9a1434610e4dc2bbde01f98d04faa615e5 (patch)
tree6e40e7f29433428db03d9111e496716f2b6dd96a /test/rpktest.c
parentcc343d047c147e0a395fb101efbe9dedf458aa17 (diff)
downloadopenssl-4032cd9a1434610e4dc2bbde01f98d04faa615e5.zip
openssl-4032cd9a1434610e4dc2bbde01f98d04faa615e5.tar.gz
openssl-4032cd9a1434610e4dc2bbde01f98d04faa615e5.tar.bz2
configure: introduce no-ecx to remove ECX related feature
This can effectively reduce the binary size for platforms that don't need ECX feature(~100KB). Signed-off-by: Yi Li <yi1.li@intel.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20781)
Diffstat (limited to 'test/rpktest.c')
-rw-r--r--test/rpktest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rpktest.c b/test/rpktest.c
index 89e1fcf..ac82479 100644
--- a/test/rpktest.c
+++ b/test/rpktest.c
@@ -156,6 +156,7 @@ static int test_rpk(int idx)
privkey_file = privkey2;
other_cert_file = cert;
break;
+# ifndef OPENSSL_NO_ECX
case 2:
/* use Ed448 */
cert_file = cert448;
@@ -168,6 +169,7 @@ static int test_rpk(int idx)
privkey_file = privkey25519;
other_cert_file = cert;
break;
+# endif
#endif
default:
testresult = TEST_skip("EDCSA disabled");