Allow : in rovoked_certs.txt

This commit is contained in:
Tebbe Ubben 2019-05-01 16:46:49 +02:00
parent 2de4383535
commit 85ea146c8b

View file

@ -194,7 +194,7 @@ public class SignatureVerifier extends PluginBase implements ConstraintsInterfac
List<byte[]> revokedCerts = new ArrayList<>();
for (String line : file.split("\n")) {
if (line.startsWith("#")) continue;
revokedCerts.add(Hex.decode(line.replace(" ", "")));
revokedCerts.add(Hex.decode(line.replace(" ", "").replace(":", "")));
}
return revokedCerts;
}