Problem with libustream-wolfssl - cannot download page

See bug:

uclient-fetch with libustream-wolfssl installed cannot fetch an https page with an encrypted certificate, but curl compiled with the same version of libwolfssl can.
The same problem occurs with the current sanpshot - uclient-fetch cannot download the ex. page.

# wget -O /dev/null
Downloading ''
Connecting to
Connection error: Invalid SSL certificate

Bug in libustream-wolfssl?

@hauke @nbd @cotequeiroz ? Do you have any comment?

This was due to a bug in WolfSSL that was fixed in libwolfssl-5.1.1-stable-2 (libwolfssl5.1.1.99a5b54a_5.1.1-stable-2.ipk).