1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

View File

@ -131,7 +131,7 @@ static void mbed_debug(void *context, int level, const char *f_name,
/* /*
* profile * 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 */ /* Hashes from SHA-1 and above */
MBEDTLS_X509_ID_FLAG(MBEDTLS_MD_SHA1) | MBEDTLS_X509_ID_FLAG(MBEDTLS_MD_SHA1) |