forked from wolfSSL/wolfssl
fix defrag member layout, add comments
This commit is contained in:
@ -2066,9 +2066,10 @@ typedef struct Options {
|
|||||||
} Options;
|
} Options;
|
||||||
|
|
||||||
typedef struct Arrays {
|
typedef struct Arrays {
|
||||||
|
byte* pendingMsg; /* defrag buffer */
|
||||||
word32 preMasterSz; /* differs for DH, actual size */
|
word32 preMasterSz; /* differs for DH, actual size */
|
||||||
word32 pendingMsgSz;
|
word32 pendingMsgSz; /* defrag buffer size */
|
||||||
word32 pendingMsgOffset;
|
word32 pendingMsgOffset; /* current offset into defrag buffer */
|
||||||
#ifndef NO_PSK
|
#ifndef NO_PSK
|
||||||
word32 psk_keySz; /* acutal size */
|
word32 psk_keySz; /* acutal size */
|
||||||
char client_identity[MAX_PSK_ID_LEN];
|
char client_identity[MAX_PSK_ID_LEN];
|
||||||
@ -2085,8 +2086,7 @@ typedef struct Arrays {
|
|||||||
byte cookie[MAX_COOKIE_LEN];
|
byte cookie[MAX_COOKIE_LEN];
|
||||||
byte cookieSz;
|
byte cookieSz;
|
||||||
#endif
|
#endif
|
||||||
byte pendingMsgType;
|
byte pendingMsgType; /* defrag buffer message type */
|
||||||
byte* pendingMsg;
|
|
||||||
} Arrays;
|
} Arrays;
|
||||||
|
|
||||||
#ifndef ASN_NAME_MAX
|
#ifndef ASN_NAME_MAX
|
||||||
|
Reference in New Issue
Block a user