Bug 9191 - ssl_helper-wolfssl does not work
Summary: ssl_helper-wolfssl does not work
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-19 22:22 UTC by nathan.renniewaldock
Modified: 2016-08-21 01:41 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nathan.renniewaldock 2016-08-19 22:22:45 UTC
The wolfssl ssl_helper doesn't seem to work at all.

After uncommenting the error messages:
$ ./busybox wget https://www.google.com
Connecting to www.google.com (216.58.214.4:443)
err = -313, revcd alert fatal error
SSL_connect failed
wget: error getting response: Connection reset by peer

Same result for multiple HTTPS servers.

Using busybox 1.25.0, my config is defconfig with only CONFIG_FEATURE_WGET_OPENSSL disabled for testing ssl_helper.
I've tested wolfssl v3.6.8 and v3.9.8, configured with the options specified with ssl_helper.
Comment 1 Denys Vlasenko 2016-08-21 01:41:36 UTC
Evidently, configure now also needs

C_EXTRA_FLAGS="-DWOLFSSL_STATIC_RSA"

Fixed in busybox git, see networking/ssl_helper-wolfssl/00cfg-wolfssl-3.9.8

Thanks!