Skip to content

STM32F4_HAL_ETH_MBEDTLS-master problem #3

@AndyW999

Description

@AndyW999

When running this on a Windows platform the #define LWIP_RAND() ((u32_t)rand()) dod not work and I had to use HAL_RNG_GetRandomNumber.

But when it did run the Data console showed this - can you try it and see if you get the same?

Thanks

Andy.

. Seeding the random number generator... ok
. Loading the CA root certificate ... ok (0 skipped)
DHCP/Static IP O.K.
. Setting up the SSL/TLS structure... ok
. Connecting to tcp/www.google.com/443... ok
. Performing the SSL/TLS handshake...../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:4094: bad message length
../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:4344: ssl_get_next_record() returned -29184 (-0x7200)
../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:5699: mbedtls_ssl_read_record() returned -29184 (-0x7200)
failed
! mbedtls_ssl_handshake returned -0x7200

error on mbedtls...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions