- Added hex documentation for alerts

diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h
index 4b7d272..bd2c939 100644
--- a/include/polarssl/ssl.h
+++ b/include/polarssl/ssl.h
@@ -141,30 +141,30 @@
 #define SSL_ALERT_LEVEL_WARNING         1
 #define SSL_ALERT_LEVEL_FATAL           2
 
-#define SSL_ALERT_MSG_CLOSE_NOTIFY           0
-#define SSL_ALERT_MSG_UNEXPECTED_MESSAGE    10
-#define SSL_ALERT_MSG_BAD_RECORD_MAC        20
-#define SSL_ALERT_MSG_DECRYPTION_FAILED     21
-#define SSL_ALERT_MSG_RECORD_OVERFLOW       22
-#define SSL_ALERT_MSG_DECOMPRESSION_FAILURE 30
-#define SSL_ALERT_MSG_HANDSHAKE_FAILURE     40
-#define SSL_ALERT_MSG_NO_CERT               41
-#define SSL_ALERT_MSG_BAD_CERT              42
-#define SSL_ALERT_MSG_UNSUPPORTED_CERT      43
-#define SSL_ALERT_MSG_CERT_REVOKED          44
-#define SSL_ALERT_MSG_CERT_EXPIRED          45
-#define SSL_ALERT_MSG_CERT_UNKNOWN          46
-#define SSL_ALERT_MSG_ILLEGAL_PARAMETER     47
-#define SSL_ALERT_MSG_UNKNOWN_CA            48
-#define SSL_ALERT_MSG_ACCESS_DENIED         49
-#define SSL_ALERT_MSG_DECODE_ERROR          50
-#define SSL_ALERT_MSG_DECRYPT_ERROR         51
-#define SSL_ALERT_MSG_EXPORT_RESTRICTION    60
-#define SSL_ALERT_MSG_PROTOCOL_VERSION      70
-#define SSL_ALERT_MSG_INSUFFICIENT_SECURITY 71
-#define SSL_ALERT_MSG_INTERNAL_ERROR        80
-#define SSL_ALERT_MSG_USER_CANCELED         90
-#define SSL_ALERT_MSG_NO_RENEGOTIATION     100
+#define SSL_ALERT_MSG_CLOSE_NOTIFY           0  /* 0x00 */
+#define SSL_ALERT_MSG_UNEXPECTED_MESSAGE    10  /* 0x0A */
+#define SSL_ALERT_MSG_BAD_RECORD_MAC        20  /* 0x14 */
+#define SSL_ALERT_MSG_DECRYPTION_FAILED     21  /* 0x15 */
+#define SSL_ALERT_MSG_RECORD_OVERFLOW       22  /* 0x16 */
+#define SSL_ALERT_MSG_DECOMPRESSION_FAILURE 30  /* 0x1E */
+#define SSL_ALERT_MSG_HANDSHAKE_FAILURE     41  /* 0x29 */
+#define SSL_ALERT_MSG_NO_CERT               41  /* 0x29 */
+#define SSL_ALERT_MSG_BAD_CERT              42  /* 0x2A */
+#define SSL_ALERT_MSG_UNSUPPORTED_CERT      43  /* 0x2B */
+#define SSL_ALERT_MSG_CERT_REVOKED          44  /* 0x2C */
+#define SSL_ALERT_MSG_CERT_EXPIRED          45  /* 0x2D */
+#define SSL_ALERT_MSG_CERT_UNKNOWN          46  /* 0x2E */
+#define SSL_ALERT_MSG_ILLEGAL_PARAMETER     47  /* 0x2F */
+#define SSL_ALERT_MSG_UNKNOWN_CA            48  /* 0x30 */
+#define SSL_ALERT_MSG_ACCESS_DENIED         49  /* 0x31 */
+#define SSL_ALERT_MSG_DECODE_ERROR          50  /* 0x32 */
+#define SSL_ALERT_MSG_DECRYPT_ERROR         51  /* 0x33 */
+#define SSL_ALERT_MSG_EXPORT_RESTRICTION    60  /* 0x3C */
+#define SSL_ALERT_MSG_PROTOCOL_VERSION      70  /* 0x46 */
+#define SSL_ALERT_MSG_INSUFFICIENT_SECURITY 71  /* 0x47 */
+#define SSL_ALERT_MSG_INTERNAL_ERROR        80  /* 0x50 */
+#define SSL_ALERT_MSG_USER_CANCELED         90  /* 0x5A */
+#define SSL_ALERT_MSG_NO_RENEGOTIATION     100  /* 0x64 */
 
 #define SSL_HS_HELLO_REQUEST            0
 #define SSL_HS_CLIENT_HELLO             1