Skip to content

Commit

Permalink
Bug 1564714 - Print certutil command lines in certsetup.sh, r=kjacobs
Browse files Browse the repository at this point in the history
Reviewers: KevinJacobs

Tags: #secure-revision

Bug #: 1564714

Differential Revision: https://phabricator.services.mozilla.com/D37522

--HG--
extra : source : e723e9ff42aed1c12881ea62acacb799d1119009
  • Loading branch information
martinthomson committed Jul 10, 2019
1 parent 1b5bc2e commit b0cba14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/common/certsetup.sh
Expand Up @@ -55,9 +55,11 @@ make_cert() {
msg="create certificate: $@"
shift 2
counter=$(($counter + 1))
certscript $@ | ${BINDIR}/certutil -S \
cmd=(${BINDIR}/certutil -S \
-z "$R_NOISE_FILE" -d "$PROFILEDIR" \
-n $name -s "CN=$name" -t "$trust" "${sign[@]}" -m "$counter" \
-w -2 -v 120 -k "$type" "${type_args[@]}" "${sighash[@]}" -1 -2
-w -2 -v 120 -k "$type" "${type_args[@]}" "${sighash[@]}" -1 -2)
echo "${cmd[@]}"
certscript $@ | "${cmd[@]}"
html_msg $? 0 "$msg"
}

0 comments on commit b0cba14

Please sign in to comment.