Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit e06840b

Browse files
authored
v1.2.1
### Releases v1.2.1 1. Clean-up all compiler warnings possible. 2. Add Table of Contents
1 parent 03a15f9 commit e06840b

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/SSLClient/SSLClientParameters.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@
2727

2828
#include "SSLClient/SSLClientParameters.h"
2929

30-
// fix for non-exception arduino platforms (Feather and Teensy 4.0)
31-
namespace std
32-
{
33-
void __attribute__((weak)) __throw_length_error(char const*) {}
34-
}
35-
36-
3730
struct ssl_pem_decode_state
3831
{
3932
std::vector<char>* vect;

src/SSLClient/SSLClient_Impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ unsigned EthernetSSLClient::m_update_engine()
737737
ET_LOGDEBUG3(F("avail ="), avail, F(", len ="), len);
738738

739739
// I suppose so!
740-
int rlen = m_client.read(buf, avail < len ? avail : len);
740+
int rlen = m_client.read(buf, avail < (int) len ? avail : len);
741741

742742
if (rlen <= 0)
743743
{

0 commit comments

Comments
 (0)