From 4c338d539ac01081ffafa8887dd43782c9c030b2 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Fri, 28 Jul 2017 12:16:42 +0100 Subject: [PATCH] Fix threshold checks for MBEDTLS_X509_MAX_INTERMEDIATE_CA --- tests/suites/test_suite_x509parse.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_x509parse.function b/tests/suites/test_suite_x509parse.function index dd7079026..e22adcff0 100644 --- a/tests/suites/test_suite_x509parse.function +++ b/tests/suites/test_suite_x509parse.function @@ -7,7 +7,7 @@ #include "polarssl/oid.h" #include "polarssl/base64.h" -#if POLARSSL_X509_MAX_INTERMEDIATE_CA >= 19 +#if POLARSSL_X509_MAX_INTERMEDIATE_CA > 19 #error "The value of POLARSSL_X509_MAX_INTERMEDIATE_C is larger \ than the current threshold 19. To test larger values, please \ adapt the script tests/data_files/dir-max/long.sh."