summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/wdk/sign/sign.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/wdk/sign/sign.lua b/xmake/rules/wdk/sign/sign.lua
index bd46af76a..8bf68b53a 100644
--- a/xmake/rules/wdk/sign/sign.lua
+++ b/xmake/rules/wdk/sign/sign.lua
@@ -84,6 +84,11 @@ function main(target, filepath, mode)
table.insert(argv, "/s")
table.insert(argv, store)
end
+ local digest_algorithm = target:values("wdk.sign.digest_algorithm")
+ if digest_algorithm then
+ table.insert(argv, "/fd")
+ table.insert(argv, digest_algorithm)
+ end
-- uses the default test certificate
if mode == "test" and (not certfile and not thumbprint and not store) then