mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
HV:fix expression is not boolean
Expression should be boolean immediate before 'if','while' key-words. V1->V2 add () to bool expression Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -15,7 +15,7 @@ int hkdf_sha256(uint8_t *out_key, size_t out_len,
|
||||
const mbedtls_md_info_t *md;
|
||||
|
||||
md = mbedtls_md_info_from_type(MBEDTLS_MD_SHA256);
|
||||
if (!md) {
|
||||
if (md == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user