Skip to content

Commit a658fc2

Browse files
committed
addressed Copilot review comments
1 parent 1c5e58b commit a658fc2

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
@@ -188,11 +188,13 @@ rm -f test-enc.der
188188
# Regression tests for stack buffer overflow fix (scanf -> fgets)
189189

190190
# Test: -in not provided, filename supplied via stdin to exercise the inName Path
191+
rm -f test-stdin-in.enc test-stdin-in.dec
191192
printf "certs/crl.der\n" | ./wolfssl enc -aes-128-cbc -out test-stdin-in.enc -k "testpass" > /dev/null 2>&1
192193
if [ $? != 0 ]; then
193194
echo "Failed: enc with stdin input (no -in flag)"
194195
exit 99
195196
fi
197+
rm -f test-stdin-in.dec
196198
./wolfssl enc -d -aes-128-cbc -in test-stdin-in.enc -out test-stdin-in.dec -k "testpass" > /dev/null 2>&1
197199
diff certs/crl.der test-stdin-in.dec > /dev/null 2>&1
198200
if [ $? != 0 ]; then

0 commit comments

Comments
 (0)