Fix some test canonifiers in scripts/policy/protocols/ssl

This commit is contained in:
Daniel Thayer 2015-08-22 21:56:55 -05:00
parent d3f513fc80
commit 4788e4e715
5 changed files with 18 additions and 13 deletions

View file

@ -25,43 +25,48 @@ BEGIN { FS="\t"; OFS="\t"; s_col = -1; i_col = -1; is_col = -1; cs_col = -1; ci_
}
}
s_col >= 0 {
/^#/ {
print;
next;
}
s_col > 0 {
if ( $s_col != "-" )
# Mark that it's set, but ignore content.
$s_col = "+";
}
i_col >= 0 {
i_col > 0 {
if ( $i_col != "-" )
# Mark that it's set, but ignore content.
$i_col = "+";
}
is_col >= 0 {
is_col > 0 {
if ( $is_col != "-" )
# Mark that it's set, but ignore content.
$is_col = "+";
}
cs_col >= 0 {
cs_col > 0 {
if ( $cs_col != "-" )
# Mark that it's set, but ignore content.
$cs_col = "+";
}
ci_col >= 0 {
ci_col > 0 {
if ( $ci_col != "-" )
# Mark that it's set, but ignore content.
$ci_col = "+";
}
cert_subj_col >= 0 {
cert_subj_col > 0 {
if ( $cert_subj_col != "-" )
# Mark that it's set, but ignore content.
$cert_subj_col = "+";
}
cert_issuer_col >= 0 {
cert_issuer_col > 0 {
if ( $cert_issuer_col != "-" )
# Mark that it's set, but ignore content.
$cert_issuer_col = "+";