data/switch2osm.com: src/switch2osm
data/stateofthemap.eu: src/stateofthemap-eu
-include/sshfp.js:
+include/sshfp.js: $(wildcard /etc/ssh/ssh_known_hosts)
bin/mksshfp
origins/tile.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/tile.openstreetmap.yml
my $type = $3;
my $value = $4;
- print SSHFP_JS qq| SSHFP("${host}", ${algorithm}, ${type}, "${value}"),\n|;
+ if ($type == 2 &&
+ ($algorithm == 3 || $algorithm == 4))
+ {
+ print SSHFP_JS qq| SSHFP("${host}", ${algorithm}, ${type}, "${value}"),\n|;
+ }
}
else
{