You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/build-wolfprovider.sh
+37-18Lines changed: 37 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -6,25 +6,32 @@ show_help() {
6
6
echo"Usage: $0"
7
7
echo""
8
8
echo"Script Arguments:"
9
-
echo" --help, -help, -h Display this help menu and exit"
10
-
echo" --debug Builds OpenSSL, wolfSSL, and WolfProvider with debugging enabled"
11
-
echo" --openssl-ver=VER Which version of OpenSSL to clone"
12
-
echo" --wolfssl-ver=VER Which version of wolfSSL to clone"
13
-
echo" --enable-fips Build wolfProvider with a cloned FIPS bundle. Cloned FIPS bundle can be changed with --fips-check"
14
-
echo" --fips-bundle=DIR Build wolfProvider with a directory containing a wolfSSL FIPS bundle instead of cloning from GitHub. Requires a FIPS version to be given by --fips-version"
15
-
echo" --fips-check=TAG Choose a FIPS tag to clone. May require a version to be given by --fips-version"
16
-
echo" --fips-version=VER Choose the wolfSSL FIPS version"
17
-
echo" --quicktest Disable some tests for a faster testing suite"
9
+
echo" --help, -help, -h Display this help menu and exit"
10
+
echo" --clean Run make clean in OpenSSL, wolfSSL, and wolfProvider"
11
+
echo" --distclean Remove source directories of OpenSSL and wolfSSL. If using wolfProvider it must be disabled or cloning will fail"
12
+
echo" --debug Builds OpenSSL, wolfSSL, and WolfProvider with debugging enabled. This is the same as setting WOLFPROV_DEBUG=1"
13
+
echo" --debug-asn-template Enable debug information for asn within wolfSSL"
14
+
echo" --disable-err-trace No debug trace messages from library errors in wolfSSL"
15
+
echo" --openssl-ver=VER Which version of OpenSSL to clone"
16
+
echo" --wolfssl-ver=VER Which version of wolfSSL to clone"
17
+
echo" --enable-fips Build wolfProvider with a cloned FIPS bundle. Cloned FIPS bundle can be changed with --fips-check"
18
+
echo" --fips-bundle=DIR Build wolfProvider with a directory containing a wolfSSL FIPS bundle instead of cloning from GitHub. Requires a FIPS version to be given by --fips-version"
19
+
echo" --fips-check=TAG Choose a FIPS tag to clone. May require a version to be given by --fips-version"
20
+
echo" --fips-version=VER Choose the wolfSSL FIPS version"
21
+
echo" --quicktest Disable some tests for a faster testing suite"
18
22
echo""
19
23
echo"Environment Variables:"
20
-
echo" OPENSSL_TAG OpenSSL tag to use (e.g., openssl-3.5.0)"
21
-
echo" WOLFSSL_TAG wolfSSL tag to use (e.g., v5.8.0-stable)"
22
-
echo" WOLFPROV_DEBUG If set to 1, builds OpenSSL, wolfSSL, and wolfProvider with debug options enabled"
23
-
echo" WOLFSSL_ISFIPS If set to 1, clones a wolfSSL FIPS bundle from GitHub"
24
-
echo" WOLFSSL_FIPS_BUNDLE Directory containing the wolfSSL FIPS bundle to use instead of cloning from GitHub"
25
-
echo" WOLFSSL_FIPS_VERSION Version of wolfSSL FIPS bundle (v5, v6, ready), used as an argument for --enable-fips when configuring wolfSSL"
26
-
echo" WOLFSSL_FIPS_CHECK_TAG Tag for wolfSSL FIPS bundle (linuxv5.2.1, v6.0.0, etc), used as an argument for fips-check.sh when cloning a wolfSSL FIPS version"
27
-
echo" WOLFPROV_QUICKTEST If set to 1, disables some tests in the test suite to increase test speed"
24
+
echo" OPENSSL_TAG OpenSSL tag to use (e.g., openssl-3.5.0)"
25
+
echo" WOLFSSL_TAG wolfSSL tag to use (e.g., v5.8.0-stable)"
26
+
echo" WOLFSSL_ISFIPS If set to 1, clones a wolfSSL FIPS bundle from GitHub"
27
+
echo" WOLFSSL_FIPS_BUNDLE Directory containing the wolfSSL FIPS bundle to use instead of cloning from GitHub"
28
+
echo" WOLFSSL_FIPS_VERSION Version of wolfSSL FIPS bundle (v5, v6, ready), used as an argument for --enable-fips when configuring wolfSSL"
29
+
echo" WOLFSSL_FIPS_CHECK_TAG Tag for wolfSSL FIPS bundle (linuxv5.2.1, v6.0.0, etc), used as an argument for fips-check.sh when cloning a wolfSSL FIPS version"
30
+
echo" WOLFPROV_CLEAN If set to 1, run make clean in OpenSSL, wolfSSL, and wolfProvider"
31
+
echo" WOLFPROV_DISTCLEAN If set to 1, remove the source directories of OpenSSL and wolfSSL"
32
+
echo" WOLFPROV_DEBUG If set to 1, builds OpenSSL, wolfSSL, and wolfProvider with debug options enabled"
33
+
echo" WOLFPROV_QUICKTEST If set to 1, disables some tests in the test suite to increase test speed"
34
+
echo" WOLFPROV_DISABLE_ERR_TRACE If set to 1, wolfSSL will not be configured with --enable-debug-trace-errcodes=backtrace"
0 commit comments