From c3eb5d2636c5ef5b37a7f1d43c53dd46633541fe Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@opera.com>
Date: Mon, 20 Oct 2014 17:29:39 +0200
Subject: [PATCH] Fix for systems without ECC

---
 lib/modules/Crypto.pmod/testsuite.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/modules/Crypto.pmod/testsuite.in b/lib/modules/Crypto.pmod/testsuite.in
index 37e6d3c852..37ad9b7a5f 100644
--- a/lib/modules/Crypto.pmod/testsuite.in
+++ b/lib/modules/Crypto.pmod/testsuite.in
@@ -631,7 +631,9 @@ test_curve(SECP_224R1,"1.3.132.0.33")
 test_curve(SECP_256R1,"1.2.840.10045.3.1.7")
 test_curve(SECP_384R1,"1.3.132.0.34")
 test_curve(SECP_521R1,"1.3.132.0.35")
-test_do( Crypto.ECC.SECP_192R1.ECDSA()->generate_key())
+cond_resolv(Crypto.ECC.SECP_192R1, [[
+  test_do( Crypto.ECC.SECP_192R1.ECDSA()->generate_key())
+]])
 
 dnl Crypto.substitution
 
-- 
GitLab