|
Lines 1093-1100
Link Here
|
| 1093 |
* session-id if we want it to be single use. |
1093 |
* session-id if we want it to be single use. |
| 1094 |
* Currently I will not implement the '0' length session-id |
1094 |
* Currently I will not implement the '0' length session-id |
| 1095 |
* 12-Jan-98 - I'll now support the '0' length stuff. |
1095 |
* 12-Jan-98 - I'll now support the '0' length stuff. |
|
|
1096 |
* |
| 1097 |
* We also have an additional case where stateless session |
| 1098 |
* resumption is successful: we always send back the old |
| 1099 |
* session id. In this case s->hit is non zero: this can |
| 1100 |
* only happen if stateless session resumption is succesful |
| 1101 |
* if session caching is disabled so existing functionality |
| 1102 |
* is unaffected. |
| 1096 |
*/ |
1103 |
*/ |
| 1097 |
if (!(s->ctx->session_cache_mode & SSL_SESS_CACHE_SERVER)) |
1104 |
if (!(s->ctx->session_cache_mode & SSL_SESS_CACHE_SERVER) |
|
|
1105 |
&& !s->hit) |
| 1098 |
s->session->session_id_length=0; |
1106 |
s->session->session_id_length=0; |
| 1099 |
|
1107 |
|
| 1100 |
sl=s->session->session_id_length; |
1108 |
sl=s->session->session_id_length; |