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

diff --git a/a/1.txt b/N1/1.txt
index 0bc8609..ec55f1a 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -160,10 +160,10 @@ index 991f4d735a4e..202a9dc66c93 100644
  
 -	if (ctx->last_oid != OID_rsaEncryption)
 +	ctx->key_algo = ctx->last_oid;
-+	if (ctx->last_oid = OID_rsaEncryption)
++	if (ctx->last_oid == OID_rsaEncryption)
 +		ctx->cert->pub->pkey_algo = "rsa";
-+	else if (ctx->last_oid = OID_gost2012PublicKey256 ||
-+		 ctx->last_oid = OID_gost2012PublicKey512)
++	else if (ctx->last_oid == OID_gost2012PublicKey256 ||
++		 ctx->last_oid == OID_gost2012PublicKey512)
 +		ctx->cert->pub->pkey_algo = "ecrdsa";
 +	else
  		return -ENOPKG;
diff --git a/a/content_digest b/N1/content_digest
index 9a223ff..2958ac0 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020190106133608.820-1-vt@altlinux.org\0"
  "From\0Vitaly Chikunov <vt@altlinux.org>\0"
  "Subject\0[RFC PATCH 1/4] X.509: Parse public key parameters from x509 for akcipher\0"
- "Date\0Sun, 06 Jan 2019 13:36:05 +0000\0"
+ "Date\0Sun,  6 Jan 2019 16:36:05 +0300\0"
  "To\0David Howells <dhowells@redhat.com>"
   Herbert Xu <herbert@gondor.apana.org.au>
   Mimi Zohar <zohar@linux.vnet.ibm.com>
@@ -174,10 +174,10 @@
  " \n"
  "-\tif (ctx->last_oid != OID_rsaEncryption)\n"
  "+\tctx->key_algo = ctx->last_oid;\n"
- "+\tif (ctx->last_oid = OID_rsaEncryption)\n"
+ "+\tif (ctx->last_oid == OID_rsaEncryption)\n"
  "+\t\tctx->cert->pub->pkey_algo = \"rsa\";\n"
- "+\telse if (ctx->last_oid = OID_gost2012PublicKey256 ||\n"
- "+\t\t ctx->last_oid = OID_gost2012PublicKey512)\n"
+ "+\telse if (ctx->last_oid == OID_gost2012PublicKey256 ||\n"
+ "+\t\t ctx->last_oid == OID_gost2012PublicKey512)\n"
  "+\t\tctx->cert->pub->pkey_algo = \"ecrdsa\";\n"
  "+\telse\n"
  " \t\treturn -ENOPKG;\n"
@@ -335,4 +335,4 @@
  "-- \n"
  2.11.0
 
-755ae6c1914e39187e66dfa950cceb6b906886d39ae22019ac3e09d65eaecb3b
+cbd665cd68f957882eb68dd219a5f8ffb223746c0234f07c10eea50b19ed7513

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.