- Removed unused but initialized variables

This commit is contained in:
Paul Bakker 2011-07-13 14:21:52 +00:00
parent 9db7742adb
commit eaf90d9a9c
3 changed files with 7 additions and 8 deletions

View file

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