wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.34k stars 830 forks source link

Feature Request: Allow test suite to run w/o internet access #7900

Open knight-of-ni opened 2 months ago

knight-of-ni commented 2 months ago

Version

5.7.2

Description

For wolfssl rpm in fedora, I have to modify the test suite like so, in order to allow it to succeed in a build environment with no access to the outside world:

# Disable tests that need Internets
sed -i 's/^if BUILD_OCSP$/if FALSE/' scripts/include.am
sed -i 's/^if BUILD_OCSP_STAPLING$/if FALSE/' scripts/include.am

It would be nice if there was an autotools flag I could set (e.g. --disable-online-checks) to do this for me.

mpsuzuki commented 2 months ago

I'm interested in this issue. Should I draft something for the discussion material?

kareem-wolfssl commented 1 month ago

Hi knight-of-ni,

Thanks for your patience on this. I've assigned this issue to my colleague who will work on getting this implemented.