mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-07-30 18:57:29 +02:00
moved backported files
This commit is contained in:
@ -23,13 +23,6 @@ src_dir = examples/SimpleServer
|
||||
; src_dir = examples/Draft
|
||||
; src_dir = examples/issues/Issue14
|
||||
|
||||
[env:arduino]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
lib_deps =
|
||||
bblanchon/ArduinoJson @ 7.1.0
|
||||
mathieucarbou/AsyncTCP @ 3.2.5
|
||||
|
||||
[env:arduino-2]
|
||||
platform = espressif32@6.8.1
|
||||
board = esp32dev
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
#if defined(ESP32)
|
||||
#if ESP_IDF_VERSION_MAJOR < 5
|
||||
#include "./port/SHA1Builder.h"
|
||||
#include "BackPort_SHA1Builder.h"
|
||||
#else
|
||||
#include <SHA1Builder.h>
|
||||
#endif
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <Arduino.h>
|
||||
#if ESP_IDF_VERSION_MAJOR < 5
|
||||
|
||||
#include "SHA1Builder.h"
|
||||
#include "BackPort_SHA1Builder.h"
|
||||
|
||||
// 32-bit integer manipulation macros (big endian)
|
||||
|
||||
@ -202,7 +202,7 @@ void SHA1Builder::process(const uint8_t *data) {
|
||||
|
||||
// Public methods
|
||||
|
||||
void SHA1Builder::begin(void) {
|
||||
void SHA1Builder::begin() {
|
||||
total[0] = 0;
|
||||
total[1] = 0;
|
||||
|
@ -12,6 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <Arduino.h>
|
||||
#if ESP_IDF_VERSION_MAJOR < 5
|
||||
|
||||
#ifndef SHA1Builder_h
|
||||
#define SHA1Builder_h
|
||||
|
||||
@ -37,3 +40,5 @@ class SHA1Builder {
|
||||
};
|
||||
|
||||
#endif // SHA1Builder_h
|
||||
|
||||
#endif // ESP_IDF_VERSION_MAJOR < 5
|
Reference in New Issue
Block a user