Skip to content

Commit

Permalink
Update internal SSL Client
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Dec 5, 2024
1 parent f18d584 commit ebc4ce8
Show file tree
Hide file tree
Showing 307 changed files with 586 additions and 751 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## We have moved to the new library

> [!WARNING]
> This library is now deprecated but no further supports for feature request.
> This library is now deprecated and end of life. No further supports for help and feature request.
> We recommended the [FirebaseClient](https://github.com/mobizt/FirebaseClient) library for ongoing supports.
> You have to read the library documentation thoroughly before use.
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Firebase ESP8266 Client",
"version": "4.4.14",
"version": "4.4.15",
"keywords": "communication, REST, esp8266, arduino",
"description": "The secure, fast and reliable Firebase Realtime database library to read, store, update, delete, listen, backup, and restore data. You can also read and modify the database security rules with this library.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name=Firebase ESP8266 Client

version=4.4.14
version=4.4.15

author=Mobizt

Expand Down
8 changes: 0 additions & 8 deletions src/client/SSLClient/Custom_ESP_SSLClient_FS.h

This file was deleted.

8 changes: 4 additions & 4 deletions src/client/SSLClient/ESP_SSLClient.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
*
* The ESP SSL Client Class, ESP_SSLClient.h v2.1.7
* The ESP SSL Client Class, ESP_SSLClient.h v2.1.13
*
* Created September 2, 2023
* Created December 5, 2024
*
* The MIT License (MIT)
* Copyright (c) 2023 K. Suwatchai (Mobizt)
Expand Down Expand Up @@ -47,7 +47,7 @@ class ESP_SSLClient : public BSSL_TCP_Client
class ESP_SSLClient2 : public BSSL_TCP_Client
{
public:
ESP_SSLClient2(Client &client, bool enableSSL = true) : _base_client(client)
explicit ESP_SSLClient2(Client &client, bool enableSSL = true) : _base_client(client)
{
setClient(&_base_client, enableSSL);
};
Expand All @@ -68,7 +68,7 @@ class ESP_SSLClient
class ESP_SSLClient2
{
public:
ESP_SSLClient2(Client &client, bool enableSSL = true) : _base_client(client){};
explicit ESP_SSLClient2(Client &client, bool enableSSL = true) : _base_client(client){};
~ESP_SSLClient2(){};

private:
Expand Down
2 changes: 1 addition & 1 deletion src/client/SSLClient/ESP_SSLClient_FS.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define ESP_SSLCLIENT_USE_PSRAM

#if defined __has_include
#if __has_include("Custom_ESP_SSLClient_FS.h")
#if __has_include(<Custom_ESP_SSLClient_FS.h>)
#include "Custom_ESP_SSLClient_FS.h"
#endif
#endif
Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_big_cbcdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_BIG_CBCDEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_BIG_CBCDEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_big_cbcenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_BIG_CBCENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_BIG_CBCENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_big_ctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_BIG_CTR_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_BIG_CTR_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_big_ctrcbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_BIG_CTRCBC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_BIG_CTRCBC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_big_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_BIG_DEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_BIG_DEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_big_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_BIG_ENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_BIG_ENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_COMMON_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_COMMON_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct64.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT64_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT64_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct64_cbcdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT64_CBCDEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT64_CBCDEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct64_cbcenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT64_CBCENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT64_CBCENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct64_ctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT64_CTR_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT64_CTR_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct64_ctrcbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT64_CTRCBC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT64_CTRCBC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct64_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT64_DEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT64_DEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct64_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT64_ENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT64_ENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct_cbcdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT_CBCDEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT_CBCDEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct_cbcenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT_CBCENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT_CBCENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct_ctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT_CTR_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT_CTR_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct_ctrcbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT_CTRCBC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT_CTRCBC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT_DEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT_DEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_ct_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_CT_ENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_CT_ENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_pwr8.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_PWR8_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_PWR8_C
#if defined(USE_LIB_SSL_ENGINE)

#define BR_POWER_ASM_MACROS 1
#include "inner.h"
Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_pwr8_cbcdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_PWR8_CBCDEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_PWR8_CBCDEC_C
#if defined(USE_LIB_SSL_ENGINE)

#define BR_POWER_ASM_MACROS 1
#include "inner.h"
Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_pwr8_cbcenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_PWR8_CBCENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_PWR8_CBCENC_C
#if defined(USE_LIB_SSL_ENGINE)

#define BR_POWER_ASM_MACROS 1
#include "inner.h"
Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_pwr8_ctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_PWR8_CTR_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_PWR8_CTR_C
#if defined(USE_LIB_SSL_ENGINE)

#define BR_POWER_ASM_MACROS 1
#include "inner.h"
Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_pwr8_ctrcbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_PWR8_CTRCBC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_PWR8_CTRCBC_C
#if defined(USE_LIB_SSL_ENGINE)

#define BR_POWER_ASM_MACROS 1
#include "inner.h"
Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_small_cbcdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_SMALL_CBCDEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_SMALL_CBCDEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_small_cbcenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_SMALL_CBCENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_SMALL_CBCENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_small_ctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_SMALL_CTR_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_SMALL_CTR_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_small_ctrcbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_SMALL_CTRCBC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_SMALL_CTRCBC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_small_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_SMALL_DEC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_SMALL_DEC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
3 changes: 1 addition & 2 deletions src/client/SSLClient/bssl/aes_small_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
*/

#include "../ESP_SSLClient_FS.h"
#if !defined(EAS_SMALL_ENC_C) && defined(USE_LIB_SSL_ENGINE)
#define EAS_SMALL_ENC_C
#if defined(USE_LIB_SSL_ENGINE)

#include "inner.h"

Expand Down
Loading

0 comments on commit ebc4ce8

Please sign in to comment.