Merge pull request #1215 from dgarske/fix_stm32_cubemx_sha

Fix accidental removal of wc_Sha hashHandle for STM32 w/CubeMX
This commit is contained in:
toddouska 2017-11-09 09:07:34 -08:00 committed by GitHub
commit 127c849594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,9 @@ typedef struct wc_Sha {
#ifdef WOLFSSL_PIC32MZ_HASH
hashUpdCache cache; /* cache for updates */
#endif
#if defined(STM32_HASH) && defined(WOLFSSL_STM32_CUBEMX)
HASH_HandleTypeDef hashHandle;
#endif
#ifdef WOLFSSL_ASYNC_CRYPT
WC_ASYNC_DEV asyncDev;
#endif /* WOLFSSL_ASYNC_CRYPT */