aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-06-02 22:05:01 +0200
committerMarcel Raad <raad@teamviewer.com>2017-06-02 22:05:01 +0200
commit10e02bc36a92a1d33067d72906784441d626c010 (patch)
treecec420a933b292dda3bcb35bea30803a2772f8a6 /lib
parent769890c7e231b23962580c42df003967060a30fd (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.c2
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) |