mbedtls: make TU-local variable static

mbedtls_x509_crt_profile_fr is only used locally.
This fixes a missing-variable-declarations warning with clang.
This commit is contained in:
Marcel Raad 2017-06-02 22:05:01 +02:00
parent 769890c7e2
commit 10e02bc36a
No known key found for this signature in database
GPG Key ID: B4668817AE6D6CD4
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ static void mbed_debug(void *context, int level, const char *f_name,
/*
* profile
*/
const mbedtls_x509_crt_profile mbedtls_x509_crt_profile_fr =
static const mbedtls_x509_crt_profile mbedtls_x509_crt_profile_fr =
{
/* Hashes from SHA-1 and above */
MBEDTLS_X509_ID_FLAG(MBEDTLS_MD_SHA1) |