From 1b20cd6263e2630ecd316699bc2fa853ca6835fb Mon Sep 17 00:00:00 2001 From: aerlon <39123666+aerlon@users.noreply.github.com> Date: Mon, 18 May 2020 19:54:25 +0200 Subject: [PATCH] - Add required BearSSL include in header. (#7310) Co-authored-by: Anders --- cores/esp8266/Crypto.cpp | 3 +-- cores/esp8266/Crypto.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cores/esp8266/Crypto.cpp b/cores/esp8266/Crypto.cpp index e51a29b8b9..ae396b7d0b 100644 --- a/cores/esp8266/Crypto.cpp +++ b/cores/esp8266/Crypto.cpp @@ -23,10 +23,9 @@ THE SOFTWARE. */ -#include #include "Crypto.h" #include - +#include #include namespace TypeCast = experimental::TypeConversion; diff --git a/cores/esp8266/Crypto.h b/cores/esp8266/Crypto.h index 435b4836a3..790c916b6c 100644 --- a/cores/esp8266/Crypto.h +++ b/cores/esp8266/Crypto.h @@ -27,6 +27,7 @@ #define __ESP8266_ARDUINO_CRYPTO_H__ #include +#include namespace experimental { @@ -745,8 +746,7 @@ struct HKDF private: - // Use an opaque type to avoid #include which drags the lib declarations into userland. The global scope prefix is required for compilation to succeed, it seems. - ::br_hkdf_context hkdfContext; + br_hkdf_context hkdfContext; };