mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
PK: use NULL for unimplemented operations
This commit is contained in:
parent
f73da02962
commit
fff80f8879
3 changed files with 10 additions and 28 deletions
|
|
@ -45,7 +45,7 @@
|
|||
#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 encrypt with an ECDSA key */
|
||||
#define POLARSSL_ERR_PK_BAD_INPUT_DATA -0x2E80 /**< Bad input parameters to function. */
|
||||
|
||||
#if defined(POLARSSL_RSA_C)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue