diff for duplicates of <20190411155122.13245-11-vt@altlinux.org> diff --git a/a/1.txt b/N1/1.txt index 639eb38..a364327 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,8 +22,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 79331dc..07d82ee 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190411155122.13245-1-vt@altlinux.org\0" "From\0Vitaly Chikunov <vt@altlinux.org>\0" "Subject\0[PATCH v9 10/10] integrity: support EC-RDSA signatures for asymmetric_verify\0" - "Date\0Thu, 11 Apr 2019 15:51:22 +0000\0" + "Date\0Thu, 11 Apr 2019 18:51:22 +0300\0" "To\0Herbert Xu <herbert@gondor.apana.org.au>" David Howells <dhowells@redhat.com> Mimi Zohar <zohar@linux.ibm.com> @@ -36,8 +36,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" @@ -51,4 +51,4 @@ "-- \n" 2.11.0 -7919c0c44db9f825673a95153973a2c64404c099b95c152852be8f905e776bd1 +96ddef68eca1e276b5e00ec4423ee959906ffae0dc38db8b537648933315e137
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.