commit | c0696c216b4ac80972695cfbc94edb48eb156683 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Jun 18 16:47:17 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Jun 18 16:49:37 2015 +0200 |
tree | 6a3a74bbe641019a0a748827527c931b156d3ab9 | |
parent | 097c7bb05b68979744fe6c967cda25a8d62c3dc1 [diff] [blame] |
Rename mbedtls_mpi_msb to mbedtls_mpi_bitlen
diff --git a/programs/pkey/rsa_decrypt.c b/programs/pkey/rsa_decrypt.c index de16de5..2a6c15f 100644 --- a/programs/pkey/rsa_decrypt.c +++ b/programs/pkey/rsa_decrypt.c
@@ -120,7 +120,7 @@ goto exit; } - rsa.len = ( mbedtls_mpi_msb( &rsa.N ) + 7 ) >> 3; + rsa.len = ( mbedtls_mpi_bitlen( &rsa.N ) + 7 ) >> 3; fclose( f );