Fixed size of ctx_enc / ctx_dec in ssl for gcm_context size
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h
index 1557d39..a463460 100644
--- a/include/polarssl/ssl.h
+++ b/include/polarssl/ssl.h
@@ -369,8 +369,9 @@
md_context_t md_ctx_enc; /*!< MAC (encryption) */
md_context_t md_ctx_dec; /*!< MAC (decryption) */
- uint32_t ctx_enc[136]; /*!< encryption context */
- uint32_t ctx_dec[136]; /*!< decryption context */
+ /* 151 == 604 bytes is size of gcm_context (largest context in PolarSSL) */
+ uint32_t ctx_enc[151]; /*!< encryption context */
+ uint32_t ctx_dec[151]; /*!< decryption context */
/*
* Session specific compression layer