- 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.
diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h
index efdc11b..2037e73 100644
--- a/include/polarssl/camellia.h
+++ b/include/polarssl/camellia.h
@@ -31,7 +31,7 @@
#define CAMELLIA_ENCRYPT 1
#define CAMELLIA_DECRYPT 0
-#define POLARSSL_ERR_CAMELLIA_INVALID_KEY_LENGTH 0x0a00
+#define POLARSSL_ERR_CAMELLIA_INVALID_KEY_LENGTH -0x0a00
/**
* \brief CAMELLIA context structure