From 9de3661597ed9557255d95d7d7f978159aaadf3c Mon Sep 17 00:00:00 2001 From: Anders Date: Mon, 18 May 2020 17:03:56 +0200 Subject: [PATCH] - Add required BearSSL include in header. --- 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; };