mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-25 08:46:10 +01:00
Merge pull request #457 from NWilson/clang-analyze-fixes
Clang analyze fixes
This commit is contained in:
commit
f4743a6f5e
7 changed files with 46 additions and 25 deletions
|
|
@ -83,7 +83,7 @@ static int generic_check( const mbedtls_md_info_t *md_info, char *filename )
|
|||
int nb_err1, nb_err2;
|
||||
int nb_tot1, nb_tot2;
|
||||
unsigned char sum[MBEDTLS_MD_MAX_SIZE];
|
||||
char buf[MBEDTLS_MD_MAX_SIZE * 2 + 1], line[1024];
|
||||
char buf[MBEDTLS_MD_MAX_SIZE * 2 + 1] = { }, line[1024];
|
||||
char diff;
|
||||
|
||||
if( ( f = fopen( filename, "rb" ) ) == NULL )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue