1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

WiFiClientSecure: add support for keys and certificates in PROGMEM

This commit is contained in:
Ivan Grokhotkov
2017-10-08 05:04:04 +08:00
parent f85f8269b7
commit 84b046f98c
4 changed files with 42 additions and 3 deletions

View File

@ -1,5 +1,5 @@
const unsigned char caCert[] = {
const unsigned char caCert[] PROGMEM = {
0x30, 0x82, 0x03, 0xc5, 0x30, 0x82, 0x02, 0xad, 0xa0, 0x03, 0x02, 0x01,
0x02, 0x02, 0x10, 0x02, 0xac, 0x5c, 0x26, 0x6a, 0x0b, 0x40, 0x9b, 0x8f,
0x0b, 0x79, 0xf2, 0xae, 0x46, 0x25, 0x77, 0x30, 0x0d, 0x06, 0x09, 0x2a,