Commit f53fe673 authored by osm0sis's avatar osm0sis Committed by John Wu

BootSigner: support setting name with no cert/key pair supplied

parent 51ff7246
......@@ -24,7 +24,9 @@ public class BootSigner {
cert = new FileInputStream(args[1]);
key = new FileInputStream(args[2]);
}
if (args.length >= 4) {
if (args.length == 2) {
name = args[1];
} else if (args.length >= 4) {
name = args[3];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment