File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ clone_wolfssl() {
5353 RET=$?
5454 fi
5555 if [ $RET != 0 ]; then
56- printf " ERROR. \n"
56+ printf " ERROR cloning \n"
5757 do_cleanup
5858 exit 1
5959 fi
@@ -78,16 +78,14 @@ install_wolfssl() {
7878 CONF_ARGS+=" --enable-fips=ready"
7979 if [ ! -e " XXX-fips-test" ]; then
8080 ./fips-check.sh keep nomakecheck fips-ready >> $LOG_FILE 2>&1
81- RET=$?
82- if [ $RET != 0 ]; then
81+ if [ $? != 0 ]; then
8382 printf " ERROR checking out FIPS\n"
8483 rm -rf ${WOLFSSL_INSTALL_DIR}
8584 do_cleanup
8685 exit 1
8786 fi
8887 (cd XXX-fips-test && ./autogen.sh && ./configure ${CONF_ARGS} ${WOLFSSL_CONFIG_OPTS} CFLAGS=" ${WOLFSSL_CONFIG_CFLAGS} " && make && ./fips-hash.sh) >> $LOG_FILE 2>&1
89- RET=$?
90- if [ $RET != 0 ]; then
88+ if [ $? != 0 ]; then
9189 printf " ERROR compiling FIPS version of wolfSSL\n"
9290 rm -rf ${WOLFSSL_INSTALL_DIR}
9391 do_cleanup
@@ -98,8 +96,7 @@ install_wolfssl() {
9896 fi
9997
10098 ./configure ${CONF_ARGS} ${WOLFSSL_CONFIG_OPTS} CFLAGS=" ${WOLFSSL_CONFIG_CFLAGS} " >> $LOG_FILE 2>&1
101- RET=$?
102- if [ $RET != 0 ]; then
99+ if [ $? != 0 ]; then
103100 printf " ERROR running ./configure\n"
104101 rm -rf ${WOLFSSL_INSTALL_DIR}
105102 do_cleanup
You can’t perform that action at this time.
0 commit comments