Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordnobori <da.git@softether.co.jp>2015-09-15 08:22:53 +0300
committerdnobori <da.git@softether.co.jp>2015-09-15 08:22:53 +0300
commit9a82b3c65c9d9b323dc9150077e7ff51c01b4a58 (patch)
tree5144a8405b464cad246b08bcded583e32ce38255 /src/BuildUtil/BuildUtilCommands.cs
parent4b65e251f240d0b36c704acd598f4ceb07c41413 (diff)
v4.19-9577-beta
Diffstat (limited to 'src/BuildUtil/BuildUtilCommands.cs')
-rw-r--r--src/BuildUtil/BuildUtilCommands.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/BuildUtil/BuildUtilCommands.cs b/src/BuildUtil/BuildUtilCommands.cs
index 4e0c3644..78d19edd 100644
--- a/src/BuildUtil/BuildUtilCommands.cs
+++ b/src/BuildUtil/BuildUtilCommands.cs
@@ -1322,6 +1322,8 @@ namespace BuildUtil
new ConsoleParam("DEST"),
new ConsoleParam("COMMENT", ConsoleService.Prompt, "Comment: ", ConsoleService.EvalNotEmpty, null),
new ConsoleParam("KERNEL"),
+ new ConsoleParam("CERTID"),
+ new ConsoleParam("SHAMODE"),
};
ConsoleParamValueList vl = c.ParseCommandList(cmdName, str, args);
@@ -1334,7 +1336,10 @@ namespace BuildUtil
string comment = vl["COMMENT"].StrValue;
bool kernel = vl["KERNEL"].BoolValue;
- CodeSign.SignFile(destFileName, srcFileName, comment, kernel);
+ int certid = vl["CERTID"].IntValue;
+ int shamode = vl["SHAMODE"].IntValue;
+
+ CodeSign.SignFile(destFileName, srcFileName, comment, kernel, certid, shamode);
return 0;
}