ssh: Rewrite a function for better maintainability
authorWerner Koch <wk@gnupg.org>
Tue, 11 Dec 2012 13:50:34 +0000 (14:50 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 11 Dec 2012 13:50:34 +0000 (14:50 +0100)
commitf76a0312c3794afd81fe1e172df15eb0612deae0
treeef33ffb0801a5e86e59c5aa93c80d9a5276425b9
parentd2777f84be0ded5906a9bec3bc23cfed0a9be02f
ssh: Rewrite a function for better maintainability

* agent/command-ssh.c (ssh_signature_encoder_dsa): Rewrite.
--

Using es_fopenmem instead of a preallocated buffer is safer and easier
to read.
agent/command-ssh.c