Adds sessionIDSz to CYASSL_SESSION and Arrays.
This commit is contained in:
parent
08cdf91761
commit
e98eb1ba4d
@ -1645,6 +1645,7 @@ struct CYASSL_X509_CHAIN {
|
|||||||
/* CyaSSL session type */
|
/* CyaSSL session type */
|
||||||
struct CYASSL_SESSION {
|
struct CYASSL_SESSION {
|
||||||
byte sessionID[ID_LEN]; /* id for protocol */
|
byte sessionID[ID_LEN]; /* id for protocol */
|
||||||
|
byte sessionIDSz;
|
||||||
byte masterSecret[SECRET_LEN]; /* stored secret */
|
byte masterSecret[SECRET_LEN]; /* stored secret */
|
||||||
word32 bornOn; /* create time in seconds */
|
word32 bornOn; /* create time in seconds */
|
||||||
word32 timeout; /* timeout in seconds */
|
word32 timeout; /* timeout in seconds */
|
||||||
@ -1804,6 +1805,7 @@ typedef struct Arrays {
|
|||||||
byte clientRandom[RAN_LEN];
|
byte clientRandom[RAN_LEN];
|
||||||
byte serverRandom[RAN_LEN];
|
byte serverRandom[RAN_LEN];
|
||||||
byte sessionID[ID_LEN];
|
byte sessionID[ID_LEN];
|
||||||
|
byte sessionIDSz;
|
||||||
byte preMasterSecret[ENCRYPT_LEN];
|
byte preMasterSecret[ENCRYPT_LEN];
|
||||||
byte masterSecret[SECRET_LEN];
|
byte masterSecret[SECRET_LEN];
|
||||||
#ifdef CYASSL_DTLS
|
#ifdef CYASSL_DTLS
|
||||||
|
Loading…
Reference in New Issue
Block a user