Home GnuPG
Diffusion GnuPG 14479e251543

common: Rework the simple password query module.
14479e251543Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common: Rework the simple password query module.

* common/simple-pwquery.c (writen, readline): Drop.
(agent_send_option, agent_send_all_options, agent_open): Just use
libassuan.
(simple_pw_set_socket): Simplify.
(default_inq_cb): New function.
(simple_pwquery, simple_query): Just use libassuan.
* agent/Makefile.am (gpg_preset_passphrase_LDADD): Add libassuan.
* tools/Makefile.am (symcryptrun_LDADD): Likewise.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Aug 11 2016, 12:26 PM
Parents
rG9e6503b7ce01: common: Remove simple password query error codes.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG14479e251543: common: Rework the simple password query module. (authored by Justus Winter <justus@g10code.com>).Aug 11 2016, 12:49 PM