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>
Mon, 1 Jul 2013 18:31:12 +0000 (20:31 +0200)
commitcf7f9303272db65465ff45348cf18f7298e41e30
tree373434d6ee1dc5c7a18005b7d0aaae3fb66a4581
parent901162579119585ebd3df9001b0370e6d32934ab
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.
(cherry picked from commit f76a0312c3794afd81fe1e172df15eb0612deae0)
agent/command-ssh.c