1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

- Fixed error codes. Negative when needed (SSL error codes). Non-negative if error-codes are OR'ed to other error codes (ASN1, Base64, MPI, DHM). The rest is negative by default.

This commit is contained in:
Paul Bakker
2009-07-28 20:11:54 +00:00
parent 9794cb4f03
commit 3391b12ce3
7 changed files with 73 additions and 73 deletions

View File

@@ -26,7 +26,7 @@
#define AES_ENCRYPT 1
#define AES_DECRYPT 0
#define POLARSSL_ERR_AES_INVALID_KEY_LENGTH 0x0800
#define POLARSSL_ERR_AES_INVALID_KEY_LENGTH -0x0800
/**
* \brief AES context structure