mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
Revert "fixup! New function mbedtls_rsa_get_bitlen"
This reverts commit c939f6fcba1cda328c4a21b7c8df596690e36add.
This commit is contained in:
parent
86a440b638
commit
64a43ce48e
@ -16,7 +16,6 @@ static int rnd_std_rand( void *rng_state, unsigned char *output, size_t len );
|
|||||||
static int pk_genkey( mbedtls_pk_context *pk, int size )
|
static int pk_genkey( mbedtls_pk_context *pk, int size )
|
||||||
{
|
{
|
||||||
((void) pk);
|
((void) pk);
|
||||||
((void) size);
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_RSA_C) && defined(MBEDTLS_GENPRIME)
|
#if defined(MBEDTLS_RSA_C) && defined(MBEDTLS_GENPRIME)
|
||||||
if( mbedtls_pk_get_type( pk ) == MBEDTLS_PK_RSA )
|
if( mbedtls_pk_get_type( pk ) == MBEDTLS_PK_RSA )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user