And we have unit tests too (and found some bugs in the process)

This commit is contained in:
Frank Breedijk
2016-07-05 23:55:19 +02:00
parent 95e42b2fdf
commit 845e6c13a3
2 changed files with 80 additions and 1 deletions

View File

@ -1150,7 +1150,7 @@ run_hpkp() {
out "\n\n$spaces Unmatched key : "
pr_warning "$hpkp_key"
out "\n$spaces ( This is OK for a backup pin of a leaf cert )"
fileout "hpkp_$hpkp_key" "WARN" "PIN $hpkp_key doesn't matchyour leaf certificate or and intermediate or known root CA\nThis could be ok if it is a backup pin for a leaf certificate"
fileout "hpkp_$hpkp_key" "WARN" "PIN $hpkp_key doesn't match anything.\nThis could be ok if it is a backup pin for a leaf certificate"
fi
done