1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Add forgotten #ifdef and depends_on

This commit is contained in:
Manuel Pégourié-Gonnard
2014-01-22 15:45:04 +01:00
parent e707eb6df3
commit dfab4c1193
3 changed files with 3 additions and 2 deletions

View File

@ -108,6 +108,7 @@ int pk_init_ctx( pk_context *ctx, const pk_info_t *info )
return( 0 );
}
#if defined(POLARSSL_RSA_C)
/*
* Set RSA padding
*/
@ -121,6 +122,7 @@ int pk_rsa_set_padding( pk_context *ctx, int padding, int hash_id )
return( 0 );
}
#endif /* POLARSSL_RSA_C */
/*
* Initialize an RSA-alt context