diff options
author | Laszlo Ersek <lersek@redhat.com> | 2019-04-25 14:36:43 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-04-30 14:26:33 +0200 |
commit | e0d612356e8413362967dc191f02b09c8c924033 (patch) | |
tree | 3a7c869e9700b5a0411e6a7afaa6d2a06f8937f2 /BaseTools/Source/Python/Common/VariableAttributes.py | |
parent | 32d1440aaddde976379b43430b913a99980d1741 (diff) | |
download | edk2-e0d612356e8413362967dc191f02b09c8c924033.tar.gz edk2-e0d612356e8413362967dc191f02b09c8c924033.tar.bz2 edk2-e0d612356e8413362967dc191f02b09c8c924033.zip |
OvmfPkg/EnrollDefaultKeys: clean up acronym capitalization in identifiers
According to the edk2 coding standards, "[w]hen all letters in an acronym
are capitalized, it makes the prior and subsequent words visually
difficult to distinguish".
Fix the spellings of three acronyms, accordingly:
- "KEK" (Key Exchange Key) should be written as "Kek", in "mMicrosoftKEK",
- "CA" (Certificate Authority) should be written as "Ca", in
"mMicrosoftUefiCA",
- "PCA" (Production Certificate Authority) should be written as "Pca", in
"mMicrosoftPCA".
Generate the changes with:
sed --regexp-extended --in-place \
--expression='s,\<mMicrosoftKEK\>,mMicrosoftKek,g' \
--expression='s,\<mMicrosoftUefiCA\>,mMicrosoftUefiCa,g' \
--expression='s,\<mMicrosoftPCA\>,mMicrosoftPca,g' \
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien.grall@arm.com>
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1747
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/VariableAttributes.py')
0 files changed, 0 insertions, 0 deletions