From 6957d3c89e5f47f6d9f8e0c1db32f1b77c753b60 Mon Sep 17 00:00:00 2001
From: Pierre LALET <pierre.lalet@cea.fr>
Date: Tue, 20 Dec 2016 11:13:39 +0100
Subject: [PATCH] Disable AES-CCM test

See
  - https://github.com/pyca/cryptography/issues/2968 (discussion)
  - https://github.com/pyca/cryptography/issues/1141 (older)
---
 .travis/test.sh | 6 ++++++
 test/ipsec.uts  | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.travis/test.sh b/.travis/test.sh
index 18143ccc..419310d2 100644
--- a/.travis/test.sh
+++ b/.travis/test.sh
@@ -16,6 +16,12 @@ fi
 if [ "$TEST_COMBINED_MODES" != "yes" ]
 then
   UT_FLAGS+=" -K combined_modes"
+else
+    # AES-CCM not implemented yet in Cryptography
+    # See
+    #  - https://github.com/pyca/cryptography/issues/2968
+    #  - https://github.com/pyca/cryptography/issues/1141
+  UT_FLAGS+=" -K combined_modes_ccm"
 fi
 
 if python --version 2>&1 | grep -q PyPy
diff --git a/test/ipsec.uts b/test/ipsec.uts
index cbfc997f..4ec59d64 100644
--- a/test/ipsec.uts
+++ b/test/ipsec.uts
@@ -2521,7 +2521,7 @@ assert(d == p)
 
 #######################################
 = IPv4 / ESP - Tunnel - AES-CCM - NULL
-~ combined_modes
+~ combined_modes combined_modes_ccm
 
 p = IP(src='1.1.1.1', dst='2.2.2.2')
 p /= TCP(sport=45012, dport=80)
-- 
GitLab