Re: [Keyrings] [PATCH 2/5] X.509: Support X.509 lookup by Issuer+Serial form AuthorityKeyIdentifier
From: Mimi Zohar
Date: Mon Nov 24 2014 - 12:33:15 EST
On Mon, 2014-11-24 at 16:58 +0000, David Howells wrote:
> Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:
>
> Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:
>
> > + if (id) {
> > + lookup = id->data;
> > + len = id->len;
> > + }
> > if (!lookup) {
>
> The last line here can then just be replaced by an else-clause.
I would assume so, but the original code looked like "id->data" could
have been null.
Mimi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/