* call-scd.c (init_membuf, put_membuf, get_membuf): Removed. We
authorWerner Koch <wk@gnupg.org>
Mon, 20 Dec 2004 08:32:56 +0000 (08:32 +0000)
committerWerner Koch <wk@gnupg.org>
Mon, 20 Dec 2004 08:32:56 +0000 (08:32 +0000)
commit18fd4964f66ab297a5540f38f5dd6fb22b8e4572
tree4092463bbba4bd58f3b5deb54dac1984d78a86ef
parente212805a9cf833cac6c8cdabc2db5421adcebd47
* call-scd.c (init_membuf, put_membuf, get_membuf): Removed.  We
now use the identical implementation from ../common/membuf.c.

* pksign.c (agent_pksign): Changed arg OUTFP to OUTBUF and use
membuf functions to return the value.
* pkdecrypt.c (agent_pkdecrypt): Ditto.
* genkey.c (agent_genkey): Ditto.
* command.c (cmd_pksign, cmd_pkdecrypt, cmd_genkey): Replaced
assuan_get_data_fp() by a the membuf scheme.
(clear_outbuf, write_and_clear_outbuf): New.

* membuf.c (put_membuf): Wipe out buffer after a failed realloc.
agent/ChangeLog
agent/agent.h
agent/call-scd.c
agent/command.c
agent/genkey.c
agent/pkdecrypt.c
agent/pksign.c
common/ChangeLog
common/membuf.c