From e8c17ed2bbbe680a3d2fb75d76871096076264bc Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 26 Aug 2015 12:13:07 -0700 Subject: [PATCH] fix defrag member layout, add comments --- wolfssl/internal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wolfssl/internal.h b/wolfssl/internal.h index 93e3b3aa7..18617e20f 100644 --- a/wolfssl/internal.h +++ b/wolfssl/internal.h @@ -2066,9 +2066,10 @@ typedef struct Options { } Options; typedef struct Arrays { + byte* pendingMsg; /* defrag buffer */ word32 preMasterSz; /* differs for DH, actual size */ - word32 pendingMsgSz; - word32 pendingMsgOffset; + word32 pendingMsgSz; /* defrag buffer size */ + word32 pendingMsgOffset; /* current offset into defrag buffer */ #ifndef NO_PSK word32 psk_keySz; /* acutal size */ char client_identity[MAX_PSK_ID_LEN]; @@ -2085,8 +2086,7 @@ typedef struct Arrays { byte cookie[MAX_COOKIE_LEN]; byte cookieSz; #endif - byte pendingMsgType; - byte* pendingMsg; + byte pendingMsgType; /* defrag buffer message type */ } Arrays; #ifndef ASN_NAME_MAX