commit | 81c313ccc6a732771d6121eeb6962060dd379548 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jul 09 10:35:54 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jul 09 10:49:09 2013 +0200 |
tree | 6ba8e9d7443f555371c997637be47f211e72932c | |
parent | 1f73a65c06d92e7768ff4c4a3831423dcf0f437d [diff] [blame] |
Add #ifdef's on RSA and EC in PK
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h index 3806027..00f8cfc 100644 --- a/include/polarssl/pk.h +++ b/include/polarssl/pk.h
@@ -38,9 +38,13 @@ */ 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 } pk_type_t; /**