File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 3838
3939#include "wp_params.h"
4040
41+ #ifndef AES_BLOCK_SIZE
42+ #include <openssl/aes.h>
43+ #ifndef AES_BLOCK_SIZE
44+ #ifdef WC_NO_COMPAT_AES_BLOCK_SIZE
45+ #define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
46+ #else
47+ #error AES_BLOCK_SIZE not defined when it should be
48+ #endif
49+ #endif
50+ #endif
51+
4152#ifndef WP_INTERNAL_H
4253#define WP_INTERNAL_H
4354
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
2222source ${SCRIPT_DIR} /utils-general.sh
2323
2424WOLFSSL_GIT=${WOLFSSL_GIT:- " https://github.com/wolfSSL/wolfssl.git" }
25- WOLFSSL_TAG=${WOLFSSL_TAG:- " v5.7.2 -stable" }
25+ WOLFSSL_TAG=${WOLFSSL_TAG:- " v5.7.4 -stable" }
2626WOLFSSL_SOURCE_DIR=${SCRIPT_DIR} /../wolfssl-source
2727WOLFSSL_INSTALL_DIR=${SCRIPT_DIR} /../wolfssl-install
2828WOLFSSL_ISFIPS=${WOLFSSL_ISFIPS:- 0}
@@ -78,10 +78,10 @@ install_wolfssl() {
7878 fi
7979 if [ " $WOLFSSL_ISFIPS " = " 1" ]; then
8080 printf " with FIPS ... "
81- CONF_ARGS+=" --enable-fips=ready "
81+ CONF_ARGS+=" --enable-fips=v5 "
8282 if [ ! -e " XXX-fips-test" ]; then
8383 # Sometimes the system OpenSSL is different than the one we're using. So for the 'git' commands, we'll just use whatever the system comes with
84- LD_LIBRARY_PATH=" " ./fips-check.sh keep nomakecheck fips-ready >> $LOG_FILE 2>&1
84+ LD_LIBRARY_PATH=" " ./fips-check.sh keep nomakecheck linuxv5 >> $LOG_FILE 2>&1
8585 if [ $? != 0 ]; then
8686 printf " ERROR checking out FIPS\n"
8787 rm -rf ${WOLFSSL_INSTALL_DIR}
You can’t perform that action at this time.
0 commit comments