Messages in this thread | | | Subject | Re: [Keyrings] [PATCH 2/5] X.509: Support X.509 lookup by Issuer+Serial form AuthorityKeyIdentifier | From | Mimi Zohar <> | Date | Mon, 24 Nov 2014 12:33:03 -0500 |
| |
On Mon, 2014-11-24 at 16:58 +0000, David Howells wrote: > Mimi Zohar <zohar@linux.vnet.ibm.com> wrote: > > Mimi Zohar <zohar@linux.vnet.ibm.com> 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
| |