Skip to content

Commit 8aaa137

Browse files
committed
addressed Copilot review comments
1 parent ea94a0f commit 8aaa137

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/encrypt/enc-test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,13 @@ fi
212212
# Regression tests for stack buffer overflow fix (scanf -> fgets)
213213

214214
# Test: -in not provided, filename supplied via stdin to exercise the inName Path
215+
rm -f test-stdin-in.enc test-stdin-in.dec
215216
printf "certs/crl.der\n" | ./wolfssl enc -aes-128-cbc -out test-stdin-in.enc -k "testpass" > /dev/null 2>&1
216217
if [ $? != 0 ]; then
217218
echo "Failed: enc with stdin input (no -in flag)"
218219
exit 99
219220
fi
221+
rm -f test-stdin-in.dec
220222
./wolfssl enc -d -aes-128-cbc -in test-stdin-in.enc -out test-stdin-in.dec -k "testpass" > /dev/null 2>&1
221223
diff certs/crl.der test-stdin-in.dec > /dev/null 2>&1
222224
if [ $? != 0 ]; then

0 commit comments

Comments
 (0)