diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-06-02 22:05:01 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-06-02 22:05:01 +0200 |
commit | 10e02bc36a92a1d33067d72906784441d626c010 (patch) | |
tree | cec420a933b292dda3bcb35bea30803a2772f8a6 /lib | |
parent | 769890c7e231b23962580c42df003967060a30fd (diff) |
mbedtls: make TU-local variable static
mbedtls_x509_crt_profile_fr is only used locally.
This fixes a missing-variable-declarations warning with clang.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/mbedtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index e7359340d..037babe38 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -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) | |