Commit 02db4285 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: public_key - Make sig/tfm local to if clause in software_key_query



The recent code changes in this function triggered a false-positive
maybe-uninitialized warning in software_key_query.  Rearrange the
code by moving the sig/tfm variables into the if clause where they
are actually used.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ddd0855f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment