Commit 49dd6e31 authored by Vincent Pelletier's avatar Vincent Pelletier

shell/caucase.sh: Emit CRL signature check errors to stderr.

So that stdout may be more reliably used for scripting.
parent 2eb358be
...@@ -1160,7 +1160,8 @@ EOF ...@@ -1160,7 +1160,8 @@ EOF
printf '%s\n' "$crl" > "$cas_crl" printf '%s\n' "$crl" > "$cas_crl"
else else
printf \ printf \
'Received CAS CRL was not signed by CAS CA certificate, skipping\n' 'Received CAS CRL was not signed by CAS CA certificate, skipping\n' \
1>&2
fi fi
if [ $update_user -eq 1 ]; then if [ $update_user -eq 1 ]; then
updateCACertificate "${ca_anon_url}/cau" "$cau_ca" updateCACertificate "${ca_anon_url}/cau" "$cau_ca"
...@@ -1172,7 +1173,8 @@ EOF ...@@ -1172,7 +1173,8 @@ EOF
printf '%s\n' "$crl" > "$cau_crl" printf '%s\n' "$crl" > "$cau_crl"
else else
printf \ printf \
'Received CAU CRL was not signed by CAU CA certificate, skipping\n' 'Received CAU CRL was not signed by CAU CA certificate, skipping\n' \
1>&2
fi fi
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment