From ac3c80673fb2f25b12e92edf6ac588eafe0095c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 4 Feb 2020 09:52:27 +0100 Subject: [PATCH] Fix comment to match reality We can't fix the code to match the comment, so have it the other way round. --- library/certs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/certs.c b/library/certs.c index 4ae3c24e3..7cc71ae83 100644 --- a/library/certs.c +++ b/library/certs.c @@ -180,6 +180,10 @@ const size_t mbedtls_test_ca_crt_rsa_len = sizeof( mbedtls_test_ca_crt_rsa ); #if defined(MBEDTLS_SHA256_C) /* tests/data_files/server2-sha256.crt */ +/* Or more precisely, this is the contents of the version of this file + * that's in the mbedtls-2.16 branch, due to a backporting mistake. + * We don't want to change the contents now, as that would change the size + * which is part of the ABI, which should be stable in LTS branches. */ #define TEST_SRV_CRT_RSA_SHA256 \ "-----BEGIN CERTIFICATE-----\r\n" \ "MIIDNzCCAh+gAwIBAgIBAjANBgkqhkiG9w0BAQsFADA7MQswCQYDVQQGEwJOTDER\r\n" \