Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: tls/tls-connection.c
- Revision:
- 14:03a0b8fd6ddc
- Parent:
- 10:e269fd7b9500
- Child:
- 17:93feb2a51d58
--- a/tls/tls-connection.c Fri Sep 27 11:31:18 2019 +0000
+++ b/tls/tls-connection.c Wed Oct 02 20:26:04 2019 +0000
@@ -21,6 +21,7 @@
p->lastUsed = 0;
p->toDo = 0;
p->sessionId = 0;
+ p->resume = false;
Sha256Start(&p->handshakeSha); //This just clears any information previously calculated
p->clientEncrypted = false;
p->serverEncrypted = false;
@@ -31,6 +32,7 @@
p->serverSequence = 0;
p->clientPositionInStreamOffset = 0;
p->serverPositionInStreamOffset = 0;
+ p->slotPriKeyDecryption = 0;
}
struct TlsConnection* TlsConnectionNew(int id) //Never fails so never returns NULL