g10: Simplify code: remove field struct getkey_ctx_s.keyblock.
authorNeal H. Walfield <neal@g10code.com>
Wed, 9 Sep 2015 18:04:32 +0000 (20:04 +0200)
committerNeal H. Walfield <neal@g10code.com>
Wed, 16 Sep 2015 13:15:17 +0000 (15:15 +0200)
commit3798f73c07f33576bd02ba4a3256c626bd80752f
treeaabf2ec1a0fa42b2bfcc26c9e90b9526ef43b6a4
parent7d5999f0964c9412c0e18eb1adefdb729be68cd4
g10: Simplify code: remove field struct getkey_ctx_s.keyblock.

* g10/getkey.c (struct getkey_ctx_s): Remove field keyblock.
(finish_lookup): Add parameter keyblock.  Update caller to pass this.
(lookup): Add new local variable keyblock.  Use this instead of
ctx->keyblock for referencing the keyblock.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
g10/getkey.c