wolfSSL / wolfBoot

wolfBoot is a portable, OS-agnostic, secure bootloader for microcontrollers, supporting firmware authentication and firmware update mechanisms.
https://www.wolfssl.com
GNU General Public License v3.0
331 stars 95 forks source link

wolfBoot_get_blob_type: fix return type #392

Closed danielinux closed 7 months ago

danielinux commented 7 months ago

zd16115.

On big-endian machines, the type mismatch would always result in the conversion of the lower two bytes.