Unverified Commit f9c1252a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2080 ima: fix the undefined value during the build

parents d8a92dea fe1f3c8e
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);