allow scr sessoin ticket

This commit is contained in:
toddouska 2014-10-02 10:43:06 -07:00
parent 668fed4796
commit 3f01f097e7

View File

@ -10432,6 +10432,10 @@ int DoSessionTicket(CYASSL* ssl,
ssl->session.ticketBornOn = 0; ssl->session.ticketBornOn = 0;
} }
if (ssl->keys.encryptionOn) {
*inOutIdx += ssl->keys.padSz;
}
return BuildFinished(ssl, &ssl->verifyHashes, server); return BuildFinished(ssl, &ssl->verifyHashes, server);
} }
#endif /* HAVE_SESSION_TICKET */ #endif /* HAVE_SESSION_TICKET */