mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 03:25:35 +00:00
Relax ifdef's in pk.h by analogy with md.h
This commit is contained in:
parent
1e60cd09b0
commit
2692a30c1b
|
@ -45,16 +45,10 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
POLARSSL_PK_NONE=0,
|
POLARSSL_PK_NONE=0,
|
||||||
#if defined(POLARSSL_RSA_C)
|
|
||||||
POLARSSL_PK_RSA,
|
POLARSSL_PK_RSA,
|
||||||
#endif
|
|
||||||
#if defined(POLARSSL_ECP_C)
|
|
||||||
POLARSSL_PK_ECKEY,
|
POLARSSL_PK_ECKEY,
|
||||||
POLARSSL_PK_ECKEY_DH,
|
POLARSSL_PK_ECKEY_DH,
|
||||||
#endif
|
|
||||||
#if defined(POLARSSL_ECDSA_C)
|
|
||||||
POLARSSL_PK_ECDSA,
|
POLARSSL_PK_ECDSA,
|
||||||
#endif
|
|
||||||
} pk_type_t;
|
} pk_type_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue