Skip to content

Commit f9d3bdd

Browse files
committed
Fix ESP32-C3 BearSSL compilation error
1 parent 4110366 commit f9d3bdd

File tree

10 files changed

+20
-144
lines changed

10 files changed

+20
-144
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "FirebaseClient",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"keywords": "communication, REST, esp32, esp8266, arduino",
55
"description": "Async Firebase Client library for Arduino.",
66
"repository": {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name=FirebaseClient
22

3-
version=2.1.2
3+
version=2.1.3
44

55
author=Mobizt
66

src/client/SSLClient/ESP_SSLClient.h

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,7 @@
1-
/**
2-
* The MIT License (MIT)
3-
* Copyright (c) 2025 K. Suwatchai (Mobizt)
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Suwatchai K. <[email protected]>
43
*
5-
*
6-
* Permission is hereby granted, free of charge, to any person returning a copy of
7-
* this software and associated documentation files (the "Software"), to deal in
8-
* the Software without restriction, including without limitation the rights to
9-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10-
* the Software, and to permit persons to whom the Software is furnished to do so,
11-
* subject to the following conditions:
12-
*
13-
* The above copyright notice and this permission notice shall be included in all
14-
* copies or substantial portions of the Software.
15-
*
16-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4+
* SPDX-License-Identifier: MIT
225
*/
236

247
#ifndef ESP_SSLCLIENT_H

src/client/SSLClient/client/BSSL_Helper.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
Updated June 12, 2004.
3-
42
WiFiClientBearSSL- SSL client/server for esp8266 using BearSSL libraries
53
- Mostly compatible with Arduino WiFi shield library and standard
64
WiFiClient/ServerSecure (except for certificate handling).

src/client/SSLClient/client/BSSL_Helper.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11

22
/*
3-
Updated June 12, 2004.
4-
53
WiFiClientBearSSL- SSL client/server for esp8266 using BearSSL libraries
64
- Mostly compatible with Arduino WiFi shield library and standard
75
WiFiClient/ServerSecure (except for certificate handling).

src/client/SSLClient/client/BSSL_SSL_Client.cpp

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
/**
2-
* The MIT License (MIT)
3-
* Copyright (c) 2025 K. Suwatchai (Mobizt)
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Suwatchai K. <[email protected]>
43
*
5-
*
6-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
7-
* this software and associated documentation files (the "Software"), to deal in
8-
* the Software without restriction, including without limitation the rights to
9-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10-
* the Software, and to permit persons to whom the Software is furnished to do so,
11-
* subject to the following conditions:
12-
*
13-
* The above copyright notice and this permission notice shall be included in all
14-
* copies or substantial portions of the Software.
15-
*
16-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4+
* SPDX-License-Identifier: MIT
225
*/
6+
237
#ifndef BSSL_SSL_CLIENT_CPP
248
#define BSSL_SSL_CLIENT_CPP
259

src/client/SSLClient/client/BSSL_SSL_Client.h

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
/**
2-
* The MIT License (MIT)
3-
* Copyright (c) 2025 K. Suwatchai (Mobizt)
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Suwatchai K. <[email protected]>
43
*
5-
*
6-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
7-
* this software and associated documentation files (the "Software"), to deal in
8-
* the Software without restriction, including without limitation the rights to
9-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10-
* the Software, and to permit persons to whom the Software is furnished to do so,
11-
* subject to the following conditions:
12-
*
13-
* The above copyright notice and this permission notice shall be included in all
14-
* copies or substantial portions of the Software.
15-
*
16-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4+
* SPDX-License-Identifier: MIT
225
*/
6+
237
#ifndef BSSL_SSL_CLIENT_H
248
#define BSSL_SSL_CLIENT_H
259

src/client/SSLClient/client/BSSL_TCP_Client.cpp

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,9 @@
1-
/**
2-
* The MIT License (MIT)
3-
* Copyright (c) 2025 K. Suwatchai (Mobizt)
4-
*
5-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
6-
* this software and associated documentation files (the "Software"), to deal in
7-
* the Software without restriction, including without limitation the rights to
8-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9-
* the Software, and to permit persons to whom the Software is furnished to do so,
10-
* subject to the following conditions:
11-
*
12-
* The above copyright notice and this permission notice shall be included in all
13-
* copies or substantial portions of the Software.
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Suwatchai K. <[email protected]>
143
*
15-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4+
* SPDX-License-Identifier: MIT
215
*/
226

23-
/*
24-
WiFiClientSecure.cpp - Client Secure class for ESP32
25-
Copyright (c) 2016 Hristo Gochkov All right reserved.
26-
Additions Copyright (C) 2017 Evandro Luis Copercini.
27-
28-
This library is free software; you can redistribute it and/or
29-
modify it under the terms of the GNU Lesser General Public
30-
License as published by the Free Software Foundation; either
31-
version 2.1 of the License, or (at your option) any later version.
32-
33-
This library is distributed in the hope that it will be useful,
34-
but WITHOUT ANY WARRANTY; without even the implied warranty of
35-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36-
Lesser General Public License for more details.
37-
38-
You should have received a copy of the GNU Lesser General Public
39-
License along with this library; if not, write to the Free Software
40-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
41-
*/
427
#ifndef BSSL_TCP_CLIENT_CPP
438
#define BSSL_TCP_CLIENT_CPP
449

src/client/SSLClient/client/BSSL_TCP_Client.h

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,9 @@
1-
/**
2-
* The MIT License (MIT)
3-
* Copyright (c) 2025 K. Suwatchai (Mobizt)
4-
*
5-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
6-
* this software and associated documentation files (the "Software"), to deal in
7-
* the Software without restriction, including without limitation the rights to
8-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9-
* the Software, and to permit persons to whom the Software is furnished to do so,
10-
* subject to the following conditions:
11-
*
12-
* The above copyright notice and this permission notice shall be included in all
13-
* copies or substantial portions of the Software.
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Suwatchai K. <[email protected]>
143
*
15-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4+
* SPDX-License-Identifier: MIT
215
*/
226

23-
/*
24-
WiFiClientSecure.h - Base class that provides Client SSL to ESP32
25-
Copyright (c) 2011 Adrian McEwen. All right reserved.
26-
Additions Copyright (C) 2017 Evandro Luis Copercini.
27-
28-
This library is free software; you can redistribute it and/or
29-
modify it under the terms of the GNU Lesser General Public
30-
License as published by the Free Software Foundation; either
31-
version 2.1 of the License, or (at your option) any later version.
32-
33-
This library is distributed in the hope that it will be useful,
34-
but WITHOUT ANY WARRANTY; without even the implied warranty of
35-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36-
Lesser General Public License for more details.
37-
38-
You should have received a copy of the GNU Lesser General Public
39-
License along with this library; if not, write to the Free Software
40-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
41-
*/
42-
437
#ifndef BSSL_TCP_CLIENT_H
448
#define BSSL_TCP_CLIENT_H
459

src/core/Core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#undef FIREBASE_CLIENT_VERSION
88
#endif
99

10-
#define FIREBASE_CLIENT_VERSION "2.1.2"
10+
#define FIREBASE_CLIENT_VERSION "2.1.3"
1111

1212
static void sys_idle()
1313
{

0 commit comments

Comments
 (0)