Infineon / optiga-trust-x

OPTIGA™ Trust X Software Framework
MIT License
37 stars 19 forks source link

Multiple definition of mbedtls_hardware_poll() #32

Closed panmasuo closed 4 years ago

panmasuo commented 4 years ago

Hi, I was going through some code involving mbedTLS external library and i had a problem with multiple definition of mbedtls_hardware_poll() function. I noticed there is a file enrtopy_optiga.c (with a typo in a name) and trustx_random.c both checking for MBEDTLS_ENTROPY_HARDWARE_ALT and defining mbedtls_hardware_poll() function.

Is that a bug?

ayushev commented 4 years ago

Thanks @panmasuo , fixed in 5e0e029 and in a610c5a