mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
9e6503b7ce
commit
14479e2515
3 changed files with 105 additions and 323 deletions
|
@ -85,7 +85,7 @@ gpg_preset_passphrase_SOURCES = \
|
|||
|
||||
# Needs $(NETLIBS) for libsimple-pwquery.la.
|
||||
gpg_preset_passphrase_LDADD = \
|
||||
$(pwquery_libs) $(common_libs) \
|
||||
$(pwquery_libs) $(common_libs) $(LIBASSUAN_LIBS) \
|
||||
$(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL) $(NETLIBS) $(LIBICONV)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue