Skip to content

Commit f977004

Browse files
authored
Merge pull request #9400 from cconlon/ocspStaplingTls13MultiMktemp
Use portable mktemp syntax in ocsp-stapling_tls13multi.test
2 parents 9e9a739 + f208716 commit f977004

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)