diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.h b/FmpDevicePkg/FmpDxe/FmpDxe.h index 7baf730e69..e164e3e62b 100644 --- a/FmpDevicePkg/FmpDxe/FmpDxe.h +++ b/FmpDevicePkg/FmpDxe/FmpDxe.h @@ -87,11 +87,11 @@ extern CHAR16 *mImageIdName; /** Check to see if any of the keys in PcdFmpDevicePkcs7CertBufferXdr matches - the test key. PcdFmpDeviceTestKeySha256Digest contains the SHA256 hash of - the test key. For each key in PcdFmpDevicePkcs7CertBufferXdr, compute the - SHA256 hash and compare it to PcdFmpDeviceTestKeySha256Digest. If the + the test key. PcdFmpDeviceTestKeySha256Digest contains the SHA256 hash of + the test key. For each key in PcdFmpDevicePkcs7CertBufferXdr, compute the + SHA256 hash and compare it to PcdFmpDeviceTestKeySha256Digest. If the SHA256 hash matches or there is then error computing the SHA256 hash, then - set PcdTestKeyUsed to TRUE. Skip this check if PcdTestKeyUsed is already + set PcdTestKeyUsed to TRUE. Skip this check if PcdTestKeyUsed is already TRUE or PcdFmpDeviceTestKeySha256Digest is not exactly SHA256_DIGEST_SIZE bytes. **/