summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergii Dmytruk <sergii.dmytruk@3mdeb.com>2024-06-22 20:31:39 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-05 19:33:50 +0000
commit8e7bd66dc11300cedc520c841e1cc8303f6b4169 (patch)
tree7d4facc1459ce918240737fef46f493d51d139ba
parent5a4a7172bce4a6aed0090363c10d806c9c6ec41f (diff)
downloadedk2-8e7bd66dc11300cedc520c841e1cc8303f6b4169.tar.gz
edk2-8e7bd66dc11300cedc520c841e1cc8303f6b4169.tar.bz2
edk2-8e7bd66dc11300cedc520c841e1cc8303f6b4169.zip
BaseTools/GenerateCapsule.py: Fix --decode operation
Commit b68d566439683d0ebe60d52c85ff0e90331db740 added support for input subject name with signtool and broke --decode operation by using incorrect identifier in one place (could be an incomplete rename during review). It's `args.SignToolSubjectName`, not `args.SignSubjectName`. Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
-rw-r--r--BaseTools/Source/Python/Capsule/GenerateCapsule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Capsule/GenerateCapsule.py b/BaseTools/Source/Python/Capsule/GenerateCapsule.py
index 35435946c6..9a395d0072 100644
--- a/BaseTools/Source/Python/Capsule/GenerateCapsule.py
+++ b/BaseTools/Source/Python/Capsule/GenerateCapsule.py
@@ -690,7 +690,7 @@ if __name__ == '__main__':
args.HardwareInstance,
args.UpdateImageIndex,
args.SignToolPfxFile,
- args.SignSubjectName,
+ args.SignToolSubjectName,
args.OpenSslSignerPrivateCertFile,
args.OpenSslOtherPublicCertFile,
args.OpenSslTrustedPublicCertFile,