Include the SID into the cookie and store it in proc_st.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-06-10 10:40:59 +02:00
parent 089463840e
commit 01db3e5817
6 changed files with 18 additions and 1 deletions

View File

@@ -109,6 +109,9 @@ typedef struct proc_st {
struct sockaddr_storage remote_addr; /* peer address */
socklen_t remote_addr_len;
/* The SID present in the cookie. Used for session control only */
uint8_t sid[SID_SIZE];
/* The DTLS session ID associated with the TLS session
* it is either generated or restored from a cookie.
*/