]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg/BaseCryptLib: Use cmp-operator for non-Boolean comparisons
authorZhichao Gao <zhichao.gao@intel.com>
Tue, 30 Jul 2019 01:14:57 +0000 (09:14 +0800)
committerJian J Wang <jian.j.wang@intel.com>
Wed, 31 Jul 2019 01:19:43 +0000 (09:19 +0800)
commitb3d00df69c78fa0e12986a7ff334689a76f4578a
tree0583cc90ba9f144a6f74cacf8893873fa9410666
parent3d34b5f32692c84bbc69ff34a9ea511bcb55e50a
CryptoPkg/BaseCryptLib: Use cmp-operator for non-Boolean comparisons

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2027

Refer to CSS_2_1 5.7.2.1 "Non-Boolean comparisons must use a
compare operator (==, !=, >, < >=, <=).", use compare operator
for the non-boolean comparisons.

Cc: Jian Wang <jian.j.wang@intel.com>
Cc: Ting Ye <ting.ye@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyEku.c