Skip to content

Commit

Permalink
tests: use --X509-skip-strict-checks only for verify (#258)
Browse files Browse the repository at this point in the history
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
  • Loading branch information
alonbl authored and lsh123 committed Apr 17, 2019
1 parent f25e8f0 commit 106e7db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testrun.sh
Expand Up @@ -407,7 +407,7 @@ execEncTest() {
rm -f $tmpfile
printf " Decrypt existing document "
echo "$VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $full_file.xml" >> $curlogfile
$VALGRIND $xmlsec_app decrypt --X509-skip-strict-checks $xmlsec_params $params1 --output $tmpfile $full_file.xml >> $curlogfile 2>> $curlogfile
$VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 --output $tmpfile $full_file.xml >> $curlogfile 2>> $curlogfile
res=$?
echo "=== TEST RESULT: $res; expected: $expected_res" >> $curlogfile
if [ $res = 0 -a "$expected_res" = "$res_success" ]; then
Expand Down Expand Up @@ -440,7 +440,7 @@ execEncTest() {
rm -f $tmpfile.2
printf " Decrypt new document "
echo "$VALGRIND $xmlsec_app decrypt $xmlsec_params $params3 --output $tmpfile.2 $tmpfile" >> $curlogfile
$VALGRIND $xmlsec_app decrypt --X509-skip-strict-checks $xmlsec_params $params3 --output $tmpfile.2 $tmpfile >> $curlogfile 2>> $curlogfile
$VALGRIND $xmlsec_app decrypt $xmlsec_params $params3 --output $tmpfile.2 $tmpfile >> $curlogfile 2>> $curlogfile
res=$?
if [ $res = 0 ]; then
if [ "z$outputTransform" != "z" ] ; then
Expand Down

0 comments on commit 106e7db

Please sign in to comment.