Merge pull request #10 from bleckers/patch-1
Add support for Teensy 4.x
This commit is contained in:
commit
4f3c4c8729
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "SSLClientParameters.h"
|
||||
|
||||
// fix for non-exception arduino platforms
|
||||
#ifdef ADAFRUIT_FEATHER_M0
|
||||
// fix for non-exception arduino platforms (Feather and Teensy 4.0)
|
||||
#if defined ADAFRUIT_FEATHER_M0 || defined __IMXRT1062__
|
||||
namespace std {
|
||||
void __throw_length_error(char const*) {}
|
||||
}
|
||||
|
@ -91,4 +91,4 @@ SSLClientParameters SSLClientParameters::fromPEM(const char* cert_pem, const siz
|
|||
/* See SSLClientParams.h */
|
||||
SSLClientParameters SSLClientParameters::fromDER(const char* cert_der, const size_t cert_len, const char* key_der, const size_t key_len) {
|
||||
return SSLClientParameters(cert_der, cert_len, key_der, key_len, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue