mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-15 10:17:49 +08:00
fix(wpa_suppllicant): use sha1 in wpa_supplicant instead of sha1 in mbedtls
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
#include "md5.h"
|
||||
#include "crypto.h"
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP8266
|
||||
#undef USE_MBEDTLS_CRYPTO
|
||||
#endif
|
||||
|
||||
#ifdef USE_MBEDTLS_CRYPTO
|
||||
#include "mbedtls/sha1.h"
|
||||
#endif
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
#include "md5.h"
|
||||
#include "crypto.h"
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP8266
|
||||
#undef USE_MBEDTLS_CRYPTO
|
||||
#endif
|
||||
|
||||
#ifdef USE_MBEDTLS_CRYPTO
|
||||
#include "mbedtls/pkcs5.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user