diff mbox series

[v2,08/10] unit: Skip ECDSA cipher suite tests

Message ID 20220718180045.5845-8-denkenz@gmail.com (mailing list archive)
State New
Headers show
Series [v2,01/10] cert/key: Add support for EC based certificates | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success

Commit Message

Denis Kenzior July 18, 2022, 6 p.m. UTC
Since ECDSA sign operation is currently not supported, ECDSA in server
mode cannot work.  Skip tests for these cipher suites for now.
---
 unit/test-tls.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/unit/test-tls.c b/unit/test-tls.c
index aee5b2e36b78..53d4f38ef875 100644
--- a/unit/test-tls.c
+++ b/unit/test-tls.c
@@ -1050,6 +1050,9 @@  int main(int argc, char *argv[])
 		struct tls_bulk_encryption_algorithm *alg = suite->encryption;
 		bool supported;
 
+		if (l_str_has_prefix(suite->name, "TLS_ECDHE_ECDSA"))
+			continue;
+
 		if (alg->cipher_type == TLS_CIPHER_AEAD)
 			supported = l_aead_cipher_is_supported(alg->l_aead_id);
 		else