Fix typo in check_revocation_crl()

When verifying the CRL, check_revocation_crl() calls "openssl" rather than "$OPENSSL".
This commit is contained in:
David Cooper 2018-04-30 10:30:36 -04:00 committed by David Cooper
parent b6c527598b
commit eb7f301945

View File

@ -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"