Bug 9191

Summary: ssl_helper-wolfssl does not work
Product: Busybox Reporter: nathan.renniewaldock
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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!