Skip to content

Commit

Permalink
Fix typo in check_revocation_crl()
Browse files Browse the repository at this point in the history
When verifying the CRL, check_revocation_crl() calls "openssl" rather than "$OPENSSL".
  • Loading branch information
dcooper16 committed May 2, 2018
1 parent b6c5275 commit eb7f301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ check_revocation_crl() {
return 1
fi
cat $TEMPDIR/intermediatecerts.pem "${tmpfile%%.crl}.pem" >$TEMPDIR/${NODE}-${NODEIP}-CRL-chain.pem
openssl verify -crl_check -CAfile $TEMPDIR/${NODE}-${NODEIP}-CRL-chain.pem $TEMPDIR/host_certificate.pem &>$ERRFILE
$OPENSSL verify -crl_check -CAfile $TEMPDIR/${NODE}-${NODEIP}-CRL-chain.pem $TEMPDIR/host_certificate.pem &>$ERRFILE
if [[ $? -eq 0 ]]; then
out ", "
pr_svrty_good "not revoked"
Expand Down

0 comments on commit eb7f301

Please sign in to comment.