- Fixed minor bug by zeroizing result memory
This commit is contained in:
parent
6c0ceb3f9a
commit
310c25e564
1 changed files with 2 additions and 0 deletions
|
@ -56,7 +56,9 @@ int main( int argc, char *argv[] )
|
|||
unsigned char buf[512];
|
||||
((void) argv);
|
||||
|
||||
memset(result, 0, sizeof( result ) );
|
||||
ret = 1;
|
||||
|
||||
if( argc != 1 )
|
||||
{
|
||||
printf( "usage: rsa_decrypt\n" );
|
||||
|
|
Loading…
Reference in a new issue