Skip to content

Commit f208716

Browse files
committed
use portable mktemp syntax in scripts/ocsp-stapling_tls13multi.test for macOS compatibility
1 parent f376c8d commit f208716

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/ocsp-stapling_tls13multi.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ PARENTDIR="$PWD"
7777
#WORKSPACE="${PARENTDIR}/workspace.pid$$"
7878
#mkdir "${WORKSPACE}" || exit $?
7979

80-
WORKSPACE="$(mktemp -d -p ${PARENTDIR})"
80+
# Use portable mktemp syntax that works on both Linux and macOS
81+
WORKSPACE="$(mktemp -d ${PARENTDIR}/wolfssl-ocsp-test.XXXXXX)"
8182

8283
cp -pR ${SCRIPT_DIR}/../certs "${WORKSPACE}"/ || exit $?
8384
cd "$WORKSPACE" || exit $?

0 commit comments

Comments
 (0)