mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fix some more ifdef's RSA/EC, in pk and debug
This commit is contained in:
parent
ab2d9836b4
commit
fd5164e283
3 changed files with 43 additions and 59 deletions
|
|
@ -44,7 +44,7 @@
|
|||
* before using this macro!
|
||||
*/
|
||||
#define pk_rsa( pk ) ( (rsa_context *) (pk).data )
|
||||
#endif
|
||||
#endif /* POLARSSL_RSA_C */
|
||||
|
||||
#if defined(POLARSSL_ECP_C)
|
||||
/**
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
* before using this macro!
|
||||
*/
|
||||
#define pk_ec( pk ) ( (ecp_keypair *) (pk).data )
|
||||
#endif
|
||||
#endif /* POLARSSL_ECP_C */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
@ -120,7 +120,7 @@ int pk_set_type( pk_context *ctx, pk_type_t type );
|
|||
* POLARSSL_ERR_PK_TYPE_MISMATCH if ctx was not empty.
|
||||
*/
|
||||
int pk_wrap_rsa( pk_context *ctx, const rsa_context *rsa);
|
||||
#endif
|
||||
#endif /* POLARSSL_RSA_C */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue