mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-07-27 05:28:45 +08:00
- Fixed minor bug by zeroizing result memory
This commit is contained in:
parent
6c0ceb3f9a
commit
310c25e564
@ -56,7 +56,9 @@ int main( int argc, char *argv[] )
|
|||||||
unsigned char buf[512];
|
unsigned char buf[512];
|
||||||
((void) argv);
|
((void) argv);
|
||||||
|
|
||||||
|
memset(result, 0, sizeof( result ) );
|
||||||
ret = 1;
|
ret = 1;
|
||||||
|
|
||||||
if( argc != 1 )
|
if( argc != 1 )
|
||||||
{
|
{
|
||||||
printf( "usage: rsa_decrypt\n" );
|
printf( "usage: rsa_decrypt\n" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user