projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
769890c
)
mbedtls: make TU-local variable static
author
Marcel Raad
<raad@teamviewer.com>
Fri, 2 Jun 2017 20:05:01 +0000
(22:05 +0200)
committer
Marcel Raad
<raad@teamviewer.com>
Fri, 2 Jun 2017 20:05:01 +0000
(22:05 +0200)
mbedtls_x509_crt_profile_fr is only used locally.
This fixes a missing-variable-declarations warning with clang.
lib/vtls/mbedtls.c
patch
|
blob
|
history
diff --git
a/lib/vtls/mbedtls.c
b/lib/vtls/mbedtls.c
index e7359340d75f41ae084cbdacd652d25afd6570a1..037babe388ab44aede6eabdda8853c9c389b06d3 100644
(file)
--- 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) |