mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
- Add required BearSSL include in header. (#7310)
Co-authored-by: Anders <andlo151@student.liu.se>
This commit is contained in:
parent
4519db85e9
commit
1b20cd6263
@ -23,10 +23,9 @@
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <bearssl/bearssl.h>
|
||||
#include "Crypto.h"
|
||||
#include <TypeConversion.h>
|
||||
|
||||
#include <bearssl/bearssl.h>
|
||||
#include <assert.h>
|
||||
|
||||
namespace TypeCast = experimental::TypeConversion;
|
||||
|
@ -27,6 +27,7 @@
|
||||
#define __ESP8266_ARDUINO_CRYPTO_H__
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <bearssl/bearssl_kdf.h>
|
||||
|
||||
namespace experimental
|
||||
{
|
||||
@ -745,8 +746,7 @@ struct HKDF
|
||||
|
||||
private:
|
||||
|
||||
// Use an opaque type to avoid #include <bearssl/bearssl.h> 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;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user