Fix threshold checks for MBEDTLS_X509_MAX_INTERMEDIATE_CA

This commit is contained in:
Simon Butcher 2017-07-28 12:15:53 +01:00
parent b5851193eb
commit d4d70c4985

View file

@ -7,7 +7,7 @@
#include "mbedtls/oid.h"
#include "mbedtls/base64.h"
#if MBEDTLS_X509_MAX_INTERMEDIATE_CA >= 19
#if MBEDTLS_X509_MAX_INTERMEDIATE_CA > 19
#error "The value of MBEDTLS_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."