File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# This script provides simple sanity checks to make sure the provider is working
3
+ # NOTE: Careful running this script, because it will remove folders automatically
3
4
4
5
SET_PRE=$( set )
5
6
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
@@ -23,7 +24,9 @@ function doTestCmd() {
23
24
24
25
function runSpotCheck() {
25
26
SPOTCHECK_ARGS=$1
26
- rm -rf ${WOLFSSL_INSTALL_DIR} ${WOLFPROV_INSTALL_DIR}
27
+ unset OPENSSL_MODULES
28
+ unset OPENSSL_CONF
29
+ rm -rf ${WOLFSSL_INSTALL_DIR} ${WOLFSSL_SOURCE_DIR} ${WOLFPROV_INSTALL_DIR}
27
30
doTestCmd " $1 init_wolfprov"
28
31
29
32
SET_POST=$( set )
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ install_wolfssl() {
84
84
WOLFSSL_CONFIG_CFLAGS+=" -DWOLFSSL_LOGGINGENABLED_DEFAULT=1"
85
85
fi
86
86
if [ " $WOLFSSL_ISFIPS " = " 1" ]; then
87
+ printf " with FIPS ... "
87
88
CONF_ARGS+=" --enable-fips=ready"
88
89
if [ ! -e " XXX-fips-test" ]; then
89
90
./fips-check.sh keep nomakecheck fips-ready >> $LOG_FILE 2>&1
You can’t perform that action at this time.
0 commit comments