From 24083d61a07ce17b8ec4afdc6645d8e3cbd5a067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 12 May 2015 12:26:14 +0200 Subject: [PATCH] Fix bug in certs.c Revealed by the recent PEM changes --- library/certs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/certs.c b/library/certs.c index 8c7ec8f28..012e47217 100644 --- a/library/certs.c +++ b/library/certs.c @@ -319,10 +319,10 @@ const char * mbedtls_test_cas[] = { }; const size_t mbedtls_test_cas_len[] = { #if defined(MBEDTLS_RSA_C) - sizeof( mbedtls_test_ca_crt_rsa_len ), + sizeof( mbedtls_test_ca_crt_rsa ), #endif #if defined(MBEDTLS_ECDSA_C) - sizeof( mbedtls_test_ca_crt_ec_len ), + sizeof( mbedtls_test_ca_crt_ec ), #endif 0 };