wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.

This is a regression from earlier commit related to TLSV12 which used
sha functions that are currently declared static.
Solution: Follow upstream code structure and resolve the errors.
This commit is contained in:
Sagar Bijwe
2020-04-09 16:53:41 +05:30
parent ef47839628
commit 665b0b4b3b
3 changed files with 37 additions and 28 deletions

View File

@@ -28,6 +28,8 @@
#include "md5_i.h"
#ifdef USE_MBEDTLS_CRYPTO
#include "mbedtls/sha256.h"
#else
#include "sha256_i.h"
#endif
struct crypto_hash {