We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c5e58b commit a658fc2Copy full SHA for a658fc2
1 file changed
tests/encrypt/enc-test.sh
@@ -188,11 +188,13 @@ rm -f test-enc.der
188
# Regression tests for stack buffer overflow fix (scanf -> fgets)
189
190
# Test: -in not provided, filename supplied via stdin to exercise the inName Path
191
+rm -f test-stdin-in.enc test-stdin-in.dec
192
printf "certs/crl.der\n" | ./wolfssl enc -aes-128-cbc -out test-stdin-in.enc -k "testpass" > /dev/null 2>&1
193
if [ $? != 0 ]; then
194
echo "Failed: enc with stdin input (no -in flag)"
195
exit 99
196
fi
197
+rm -f test-stdin-in.dec
198
./wolfssl enc -d -aes-128-cbc -in test-stdin-in.enc -out test-stdin-in.dec -k "testpass" > /dev/null 2>&1
199
diff certs/crl.der test-stdin-in.dec > /dev/null 2>&1
200
0 commit comments