diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 266487ae9..0641a3104 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -33,7 +33,7 @@ jobs: update: true install: git ${{matrix.compiler}} autotools base-devel autoconf netcat - name: configure wolfSSL - run: ./autogen.sh && ./configure CFLAGS="-DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256" + run: ./autogen.sh && ./configure CFLAGS="-DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256 -DNO_WRITE_TEMP_FILES" - name: build wolfSSL run: make check - name: Display log diff --git a/scripts/ocsp-stapling2.test b/scripts/ocsp-stapling2.test index 4ce8729d3..c5664b37a 100755 --- a/scripts/ocsp-stapling2.test +++ b/scripts/ocsp-stapling2.test @@ -467,7 +467,7 @@ generate_port() { # Generate a random port number #-------------------------------------------------------------------------# - if [[ "$OSTYPE" == "linux"* || "$OSTYPE" == "msys" + if [[ "$OSTYPE" == "linux"* || "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then port=$(($(od -An -N2 /dev/urandom) % (65535-49512) + 49512)) elif [[ "$OSTYPE" == "darwin"* ]]; then