polarssl bugfix
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2012-06-08 Niibe Yutaka <gniibe@fsij.org>
|
||||
|
||||
* polarssl-0.14.0/library/bignum.c (mpi_cmp_mpi): Bug fix.
|
||||
Though it doesn't matter for Gnuk usage.
|
||||
|
||||
Emit LED light while computation (or asking user input).
|
||||
* src/usb-icc.c (icc_handle_timeout): Call led_blink.
|
||||
* src/openpgp.c (cmd_pso, cmd_internal_authenticate): Call
|
||||
|
||||
@@ -649,7 +649,7 @@ int mpi_cmp_mpi( const mpi *X, const mpi *Y )
|
||||
return( 0 );
|
||||
|
||||
if( i > j ) return( X->s );
|
||||
if( j > i ) return( -X->s );
|
||||
if( j > i ) return( -Y->s );
|
||||
|
||||
if( X->s > 0 && Y->s < 0 ) return( 1 );
|
||||
if( Y->s > 0 && X->s < 0 ) return( -1 );
|
||||
|
||||
Reference in New Issue
Block a user