1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

Verify domain name in WiFiClientSecure::verify

This commit is contained in:
Ivan Grokhotkov
2016-02-26 18:38:04 +03:00
parent e206093b60
commit fcf9c0d7ce
2 changed files with 47 additions and 4 deletions

View File

@ -38,7 +38,7 @@ public:
int connect(IPAddress ip, uint16_t port) override;
int connect(const char* name, uint16_t port) override;
bool verify(const char* fingerprint, const char* url);
bool verify(const char* fingerprint, const char* domain_name);
uint8_t connected() override;
size_t write(const uint8_t *buf, size_t size) override;