A simple library to support serving https.

Dependents:   oldheating gps motorhome heating

Revision:
19:f22327e8be7b
Parent:
18:e3cf22ba2a06
Child:
21:a6d6e26dd742
--- a/tls/tls-response.c	Thu Oct 10 15:29:05 2019 +0000
+++ b/tls/tls-response.c	Tue Oct 15 07:26:15 2019 +0000
@@ -176,10 +176,10 @@
     addHandshakeServerHello(&p, pConnection);
     addHandshakeEnd        ( p, pConnection);
     
-    TlsPrfKeys (pSession->masterSecret, pConnection->clientRandom, pConnection->serverRandom, pConnection->clientMacKey,
-                                                                                              pConnection->serverMacKey,
-                                                                                              pConnection->clientWriteKey,
-                                                                                              pConnection->serverWriteKey);
+    TlsPrfKeysAes128Sha1(pSession->masterSecret, pConnection->clientRandom, pConnection->serverRandom, pConnection->clientMacKey,
+                                                                                                       pConnection->serverMacKey,
+                                                                                                       pConnection->clientWriteKey,
+                                                                                                       pConnection->serverWriteKey);
 
     addChangeCipher        (&p, pConnection);