Small PK cleanups

- better error codes
- rm now-useless include
This commit is contained in:
Manuel Pégourié-Gonnard 2013-08-14 19:22:48 +02:00
parent 3fb5c5ee1c
commit 15699380e5
4 changed files with 8 additions and 14 deletions

View file

@ -43,7 +43,8 @@
#endif
#define POLARSSL_ERR_PK_MALLOC_FAILED -0x2F80 /**< Memory alloation failed. */
#define POLARSSL_ERR_PK_TYPE_MISMATCH -0x2F00 /**< Type mismatch, eg attempt to use a RSA key as EC, or to modify key type */
#define POLARSSL_ERR_PK_TYPE_MISMATCH -0x2F00 /**< Type mismatch, eg attempt to use a RSA key as EC, or to modify key type. */
#define POLARSSL_ERR_PK_BAD_INPUT_DATA -0x2E80 /**< Bad input parameters to function. */
#if defined(POLARSSL_RSA_C)
/**