mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 08:16:33 +01:00
- Removed unused but initialized variables
This commit is contained in:
parent
9db7742adb
commit
eaf90d9a9c
3 changed files with 7 additions and 8 deletions
|
|
@ -222,7 +222,7 @@ x509parse_key:key_data:result_str:result
|
|||
rsa_context rsa;
|
||||
unsigned char buf[2000];
|
||||
unsigned char output[2000];
|
||||
int data_len, res;
|
||||
int data_len;
|
||||
|
||||
memset( &rsa, 0, sizeof( rsa_context ) );
|
||||
memset( buf, 0, 2000 );
|
||||
|
|
@ -230,7 +230,7 @@ x509parse_key:key_data:result_str:result
|
|||
|
||||
data_len = unhexify( buf, {key_data} );
|
||||
|
||||
res = x509parse_key( &rsa, buf, data_len, NULL, 0 );
|
||||
x509parse_key( &rsa, buf, data_len, NULL, 0 );
|
||||
|
||||
TEST_ASSERT( x509parse_key( &rsa, buf, data_len, NULL, 0 ) == ( {result} ) );
|
||||
if( ( {result} ) == 0 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue