1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-23 08:45:22 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
5333ebfed7 add function peekBytes to WiFiClient/WiFiClientSecure to allow to peek multiple bytes if possible 2015-12-19 14:37:36 +01:00
4be40bc5fa Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
Improves the convenience of the verification of fingerprints.
As ':' are commonly inserted by web browser inside the SHA1 of https web sites, this created false problems with signatures "not matching".
Now, copied and pasted signature from Firefox simply because the verify function will skipped them...
2015-12-15 11:41:29 +01:00
a7609bce35 Remove double include of cbuf.h. 2015-12-09 22:17:50 -08:00
5cd42a0316 WiFiClientSecure: don't trash certificate and private key on stop() 2015-12-09 09:23:47 +03:00
14b70e9328 Allow setting client side TLS key and certificate 2015-12-04 19:02:46 +03:00
a44632b8cf make compiler happier 2015-11-25 18:11:16 +02:00
8bf1e98f24 Improve debug output on critical errors 2015-11-21 20:04:38 +03:00
e9f0ea2afe WiFiClientSecure: handle full size TLS fragments (#43)
- free up some memory by getting rid of intermediate buffer
- libaxtls: update to 6830d98
    - allocate plaintext buffer in two stages: 4*MSS initially, grow to 16k after handshake
    - free certificate data after handshake is complete
    - preallocate some structures to reduce memory fragmentation
2015-11-17 02:47:57 +03:00
77428baddc WiFiClientSecure rx overflow fixes
- Increase plaintext rx buffer size to 4096
- Request more data from axtls only when rx buffer is empty
2015-11-15 22:38:06 +03:00
810ab68ae5 Fix WiFiClientSecure::connected (#43)
thanks @whyameye
2015-11-09 01:37:22 +03:00
ebdaedff4b More error checks in WiFiClientSecure 2015-09-28 19:32:45 +03:00
5387b2286e WiFiClientSecure::available fix
Attempt to read data from SSL engine inside WiFiClientSecure::available() if RX buffer is empty.
Fix #784.
2015-09-16 16:24:52 +03:00
f73d414f38 WiFiClientSecure: add certificate fingerprint verification (#43) 2015-09-14 10:22:54 +03:00
098c71ca02 Improve receive handling in TLS support (#43) 2015-09-13 22:49:30 +03:00
9a2f2f2849 Add axTLS, first draft of WiFiClientSecure (#43) 2015-09-01 15:45:12 +03:00