We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea94a0f commit 8aaa137Copy full SHA for 8aaa137
1 file changed
tests/encrypt/enc-test.sh
@@ -212,11 +212,13 @@ fi
212
# Regression tests for stack buffer overflow fix (scanf -> fgets)
213
214
# Test: -in not provided, filename supplied via stdin to exercise the inName Path
215
+rm -f test-stdin-in.enc test-stdin-in.dec
216
printf "certs/crl.der\n" | ./wolfssl enc -aes-128-cbc -out test-stdin-in.enc -k "testpass" > /dev/null 2>&1
217
if [ $? != 0 ]; then
218
echo "Failed: enc with stdin input (no -in flag)"
219
exit 99
220
fi
221
+rm -f test-stdin-in.dec
222
./wolfssl enc -d -aes-128-cbc -in test-stdin-in.enc -out test-stdin-in.dec -k "testpass" > /dev/null 2>&1
223
diff certs/crl.der test-stdin-in.dec > /dev/null 2>&1
224
0 commit comments