All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20181116200712.14154-4-bauerman@linux.ibm.com>

diff --git a/a/1.txt b/N1/1.txt
index abcb6e0..fa0a914 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -45,7 +45,7 @@ index 97c77f66b20d..e61f121bfc87 100644
 +	/*
 +	 * This function doesn't support messages with more than one signature.
 +	 */
-+	if (sinfo = NULL || sinfo->next != NULL)
++	if (sinfo == NULL || sinfo->next != NULL)
 +		return -EBADMSG;
 +
 +	ret = pkcs7_digest(pkcs7, sinfo);
diff --git a/a/content_digest b/N1/content_digest
index 1855e5c..fec7884 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020181116200712.14154-1-bauerman@linux.ibm.com\0"
  "From\0Thiago Jung Bauermann <bauerman@linux.ibm.com>\0"
  "Subject\0[PATCH v8 03/14] PKCS#7: Introduce pkcs7_get_digest()\0"
- "Date\0Fri, 16 Nov 2018 20:07:01 +0000\0"
+ "Date\0Fri, 16 Nov 2018 18:07:01 -0200\0"
  "To\0linux-integrity@vger.kernel.org\0"
  "Cc\0linux-security-module@vger.kernel.org"
   keyrings@vger.kernel.org
@@ -71,7 +71,7 @@
  "+\t/*\n"
  "+\t * This function doesn't support messages with more than one signature.\n"
  "+\t */\n"
- "+\tif (sinfo = NULL || sinfo->next != NULL)\n"
+ "+\tif (sinfo == NULL || sinfo->next != NULL)\n"
  "+\t\treturn -EBADMSG;\n"
  "+\n"
  "+\tret = pkcs7_digest(pkcs7, sinfo);\n"
@@ -100,4 +100,4 @@
  "+\n"
   #endif /* _CRYPTO_PKCS7_H */
 
-eaad0e6883a97c12283fa7446917ff6fa8a2cab5ffdae42a907ad67cf2aaa8e1
+d2c276b818b8a671ffc323ce60e9d5f8e018a83691dcf42e17fe4c6f9cdb4593

diff --git a/a/1.txt b/N2/1.txt
index abcb6e0..fa0a914 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -45,7 +45,7 @@ index 97c77f66b20d..e61f121bfc87 100644
 +	/*
 +	 * This function doesn't support messages with more than one signature.
 +	 */
-+	if (sinfo = NULL || sinfo->next != NULL)
++	if (sinfo == NULL || sinfo->next != NULL)
 +		return -EBADMSG;
 +
 +	ret = pkcs7_digest(pkcs7, sinfo);
diff --git a/a/content_digest b/N2/content_digest
index 1855e5c..e26dbf7 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,27 +1,27 @@
  "ref\020181116200712.14154-1-bauerman@linux.ibm.com\0"
  "From\0Thiago Jung Bauermann <bauerman@linux.ibm.com>\0"
  "Subject\0[PATCH v8 03/14] PKCS#7: Introduce pkcs7_get_digest()\0"
- "Date\0Fri, 16 Nov 2018 20:07:01 +0000\0"
+ "Date\0Fri, 16 Nov 2018 18:07:01 -0200\0"
  "To\0linux-integrity@vger.kernel.org\0"
- "Cc\0linux-security-module@vger.kernel.org"
-  keyrings@vger.kernel.org
-  linux-crypto@vger.kernel.org
-  linuxppc-dev@lists.ozlabs.org
+ "Cc\0Herbert Xu <herbert@gondor.apana.org.au>"
   linux-doc@vger.kernel.org
+  Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
+  David S. Miller <davem@davemloft.net>
+  Jonathan Corbet <corbet@lwn.net>
   linux-kernel@vger.kernel.org
   Mimi Zohar <zohar@linux.ibm.com>
-  Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
   James Morris <jmorris@namei.org>
-  Serge E. Hallyn <serge@hallyn.com>
   David Howells <dhowells@redhat.com>
-  David Woodhouse <dwmw2@infradead.org>
-  Jessica Yu <jeyu@kernel.org>
-  Herbert Xu <herbert@gondor.apana.org.au>
-  David S. Miller <davem@davemloft.net>
-  Jonathan Corbet <corbet@lwn.net>
   AKASHI
   Takahiro <takahiro.akashi@linaro.org>
- " Thiago Jung Bauermann <bauerman@linux.ibm.com>\0"
+  linux-security-module@vger.kernel.org
+  keyrings@vger.kernel.org
+  linux-crypto@vger.kernel.org
+  Jessica Yu <jeyu@kernel.org>
+  linuxppc-dev@lists.ozlabs.org
+  David Woodhouse <dwmw2@infradead.org>
+  Thiago Jung Bauermann <bauerman@linux.ibm.com>
+ " Serge E. Hallyn <serge@hallyn.com>\0"
  "\00:1\0"
  "b\0"
  "IMA will need to access the digest of the PKCS7 message (as calculated by\n"
@@ -71,7 +71,7 @@
  "+\t/*\n"
  "+\t * This function doesn't support messages with more than one signature.\n"
  "+\t */\n"
- "+\tif (sinfo = NULL || sinfo->next != NULL)\n"
+ "+\tif (sinfo == NULL || sinfo->next != NULL)\n"
  "+\t\treturn -EBADMSG;\n"
  "+\n"
  "+\tret = pkcs7_digest(pkcs7, sinfo);\n"
@@ -100,4 +100,4 @@
  "+\n"
   #endif /* _CRYPTO_PKCS7_H */
 
-eaad0e6883a97c12283fa7446917ff6fa8a2cab5ffdae42a907ad67cf2aaa8e1
+d979d4d8ecb1839091876a61d6afc27430fc6515d8f369faa6b1e2fd5b2b26e0

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.