All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20190227061533.1030-1-vt@altlinux.org>

diff --git a/a/1.txt b/N1/1.txt
index 8448b0d..55a7001 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -30,8 +30,8 @@ index d775e03fbbcc..99080871eb9f 100644
 -	pks.pkey_algo = "rsa";
  	pks.hash_algo = hash_algo_name[hdr->hash_algo];
 -	pks.encoding = "pkcs1";
-+	if (hdr->hash_algo = HASH_ALGO_STREEBOG_256 ||
-+	    hdr->hash_algo = HASH_ALGO_STREEBOG_512) {
++	if (hdr->hash_algo == HASH_ALGO_STREEBOG_256 ||
++	    hdr->hash_algo == HASH_ALGO_STREEBOG_512) {
 +		/* EC-RDSA and Streebog should go together. */
 +		pks.pkey_algo = "ecrdsa";
 +		pks.encoding = "raw";
diff --git a/a/content_digest b/N1/content_digest
index cbd9542..fdbc087 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Vitaly Chikunov <vt@altlinux.org>\0"
  "Subject\0[PATCH RFC v6] integrity: support EC-RDSA signatures for asymmetric_verify\0"
- "Date\0Wed, 27 Feb 2019 06:15:33 +0000\0"
+ "Date\0Wed, 27 Feb 2019 09:15:33 +0300\0"
  "To\0Herbert Xu <herbert@gondor.apana.org.au>"
   David Howells <dhowells@redhat.com>
   Mimi Zohar <zohar@linux.ibm.com>
@@ -43,8 +43,8 @@
  "-\tpks.pkey_algo = \"rsa\";\n"
  " \tpks.hash_algo = hash_algo_name[hdr->hash_algo];\n"
  "-\tpks.encoding = \"pkcs1\";\n"
- "+\tif (hdr->hash_algo = HASH_ALGO_STREEBOG_256 ||\n"
- "+\t    hdr->hash_algo = HASH_ALGO_STREEBOG_512) {\n"
+ "+\tif (hdr->hash_algo == HASH_ALGO_STREEBOG_256 ||\n"
+ "+\t    hdr->hash_algo == HASH_ALGO_STREEBOG_512) {\n"
  "+\t\t/* EC-RDSA and Streebog should go together. */\n"
  "+\t\tpks.pkey_algo = \"ecrdsa\";\n"
  "+\t\tpks.encoding = \"raw\";\n"
@@ -58,4 +58,4 @@
  "-- \n"
  2.11.0
 
-e85164f6a7bac6ce4a1c45389e7ed3d4ae2377c20f7eee932532b4996813bdc3
+709e9eb45c014e41851e292ac4ca1c5098005db40089fb900f12223284243682

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.