gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 210/254: mbedtls: make TU-local variable static


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 210/254: mbedtls: make TU-local variable static
Date: Sat, 17 Jun 2017 16:54:02 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 10e02bc36a92a1d33067d72906784441d626c010
Author: Marcel Raad <address@hidden>
AuthorDate: Fri Jun 2 22:05:01 2017 +0200

    mbedtls: make TU-local variable static
    
    mbedtls_x509_crt_profile_fr is only used locally.
    This fixes a missing-variable-declarations warning with clang.
---
 lib/vtls/mbedtls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) |

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]