Commit fe1f3c8e authored by Zhou Shuiqing's avatar Zhou Shuiqing
Browse files

ima: fix the undefined value during the build

euleros inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7ZBVQ


CVE: NA

--------------------------------

fix the undefined value during the build.

Signed-off-by: default avatarZhou Shuiqing <zhoushuiqing2@huawei.com>
parent d8a92dea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ static void hmac_add_misc(struct shash_desc *desc, struct inode *inode,
	    type != EVM_XATTR_PORTABLE_DIGSIG &&
	    type != EVM_IMA_XATTR_DIGEST_LIST)
#else
	    type != EVM_IMA_XATTR_DIGEST_LIST)
	    type != EVM_XATTR_PORTABLE_DIGSIG)
#endif
		crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE);
	crypto_shash_final(desc, digest);