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 {
|
||||
POLARSSL_PK_NONE=0,
|
||||
#if defined(POLARSSL_RSA_C)
|
||||
POLARSSL_PK_RSA,
|
||||
#endif
|
||||
#if defined(POLARSSL_ECP_C)
|
||||
POLARSSL_PK_ECKEY,
|
||||
POLARSSL_PK_ECKEY_DH,
|
||||
#endif
|
||||
#if defined(POLARSSL_ECDSA_C)
|
||||
POLARSSL_PK_ECDSA,
|
||||
#endif
|
||||
} pk_type_t;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user