agent: Fix possible uninitalized use of CTX in simple_pwquery.
authorWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 18:22:17 +0000 (20:22 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 18:22:17 +0000 (20:22 +0200)
commitbafcf7095159493a656382997f8b0d0bb11a20e8
tree44e16409513af4633cd8ca4033f65ee52f0e7424
parent2bdc4b6ed97770ed15ec6c5afa02c2e44568a3bc
agent: Fix possible uninitalized use of CTX in simple_pwquery.

* common/simple-pwquery.c (agent_open): Clear CTX even on early error.
--

GnuPG-bug-id: 4223
Signed-off-by: Werner Koch <wk@gnupg.org>
common/simple-pwquery.c