fix IE session tickets, they don't have sessionIDs like Chrome, Safari, and Firefox do

This commit is contained in:
toddouska
2014-03-05 13:12:42 -08:00
parent f1597c86b1
commit b0d255ed40

View File

@@ -1236,8 +1236,10 @@ static int ProcessServerHello(const byte* input, int* sslBytes,
doResume = 1; doResume = 1;
if (session->ticketID && doResume) { if (session->ticketID && doResume) {
/* use ticketID to retrieve from session */ /* use ticketID to retrieve from session, prefer over sessionID */
XMEMCPY(session->sslServer->arrays->sessionID,session->ticketID,ID_LEN); XMEMCPY(session->sslServer->arrays->sessionID,session->ticketID,ID_LEN);
session->sslServer->options.haveSessionId = 1; /* may not have
actual sessionID */
} }
if (doResume ) { if (doResume ) {