mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -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:
parent
769890c7e2
commit
10e02bc36a
@ -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) |
|
||||||
|
Loading…
Reference in New Issue
Block a user