From acc7505a353395279d94cf071a7959f5a7330641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 27 Aug 2013 15:48:03 +0200 Subject: [PATCH] Temporary fix for size of cipher contexts --- include/polarssl/ssl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index 16643b285..0227bb832 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h @@ -404,9 +404,9 @@ struct _ssl_transform md_context_t md_ctx_enc; /*!< MAC (encryption) */ md_context_t md_ctx_dec; /*!< MAC (decryption) */ - /* 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 */ + /* 154 == 616 bytes is size of gcm_context (largest context in PolarSSL) */ + uint32_t ctx_enc[154]; /*!< encryption context */ + uint32_t ctx_dec[154]; /*!< decryption context */ /* * Session specific compression layer