Relax ifdef's in pk.h by analogy with md.h

This commit is contained in:
Manuel Pégourié-Gonnard 2013-07-10 10:30:15 +02:00 committed by Paul Bakker
parent 1e60cd09b0
commit 2692a30c1b

View File

@ -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;
/**