All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20200512131917.GA287386@mwanda>

diff --git a/a/1.txt b/N1/1.txt
index 7afde39..86b0f63 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -29,7 +29,7 @@ index 5d3789edab71f..168c3b78ac47b 100644
 +	struct crypto_shash **tfm, *tmp_tfm;
  	struct shash_desc *desc;
  
- 	if (type = EVM_XATTR_HMAC) {
+ 	if (type == EVM_XATTR_HMAC) {
 @@ -91,31 +91,31 @@ static struct shash_desc *init_desc(char type, uint8_t hash_algo)
  		algo = hash_algo_name[hash_algo];
  	}
@@ -56,14 +56,14 @@ index 5d3789edab71f..168c3b78ac47b 100644
 +		mutex_unlock(&mutex);
 +		return ERR_CAST(tmp_tfm);
 +	}
-+	if (type = EVM_XATTR_HMAC) {
++	if (type == EVM_XATTR_HMAC) {
 +		rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len);
 +		if (rc) {
 +			crypto_free_shash(tmp_tfm);
  			mutex_unlock(&mutex);
  			return ERR_PTR(rc);
  		}
--		if (type = EVM_XATTR_HMAC) {
+-		if (type == EVM_XATTR_HMAC) {
 -			rc = crypto_shash_setkey(*tfm, evmkey, evmkey_len);
 -			if (rc) {
 -				crypto_free_shash(*tfm);
diff --git a/a/content_digest b/N1/content_digest
index f0b2ad2..2c17701 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020200512130410.GB2056@kadam\0"
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[PATCH] evm: Fix a small race in init_desc()\0"
- "Date\0Tue, 12 May 2020 13:19:17 +0000\0"
+ "Date\0Tue, 12 May 2020 16:19:17 +0300\0"
  "To\0Mimi Zohar <zohar@linux.ibm.com>"
  " Roberto Sassu <roberto.sassu@huawei.com>\0"
  "Cc\0James Morris <jmorris@namei.org>"
@@ -42,7 +42,7 @@
  "+\tstruct crypto_shash **tfm, *tmp_tfm;\n"
  " \tstruct shash_desc *desc;\n"
  " \n"
- " \tif (type = EVM_XATTR_HMAC) {\n"
+ " \tif (type == EVM_XATTR_HMAC) {\n"
  "@@ -91,31 +91,31 @@ static struct shash_desc *init_desc(char type, uint8_t hash_algo)\n"
  " \t\talgo = hash_algo_name[hash_algo];\n"
  " \t}\n"
@@ -69,14 +69,14 @@
  "+\t\tmutex_unlock(&mutex);\n"
  "+\t\treturn ERR_CAST(tmp_tfm);\n"
  "+\t}\n"
- "+\tif (type = EVM_XATTR_HMAC) {\n"
+ "+\tif (type == EVM_XATTR_HMAC) {\n"
  "+\t\trc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len);\n"
  "+\t\tif (rc) {\n"
  "+\t\t\tcrypto_free_shash(tmp_tfm);\n"
  " \t\t\tmutex_unlock(&mutex);\n"
  " \t\t\treturn ERR_PTR(rc);\n"
  " \t\t}\n"
- "-\t\tif (type = EVM_XATTR_HMAC) {\n"
+ "-\t\tif (type == EVM_XATTR_HMAC) {\n"
  "-\t\t\trc = crypto_shash_setkey(*tfm, evmkey, evmkey_len);\n"
  "-\t\t\tif (rc) {\n"
  "-\t\t\t\tcrypto_free_shash(*tfm);\n"
@@ -99,4 +99,4 @@
  "-- \n"
  2.26.2
 
-f3b4b3ddfae10b090f5c0652de6caf5a60b2d353073d9362e83727bd894ef47f
+2cf14dbbccd3a785b7bafa5647f372e2fb063b6e88986bd11cca7f745b2f86df

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.