agent: Fix regression in recent ssh changes.
authorWerner Koch <wk@gnupg.org>
Tue, 9 Aug 2016 15:44:54 +0000 (17:44 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 9 Aug 2016 15:44:54 +0000 (17:44 +0200)
commite630f904993725c54ec63be00369589b7b7234d2
tree5b21846fcbef27ec2f69fb00fb3e707fd4518b92
parent16feb1e0ea9b5d3966f22f4ae047335b9d1b60e1
agent: Fix regression in recent ssh changes.

* agent/command-ssh.c (sexp_key_construct): Lowercase the algo name.
--

We need to use a lowercase version of the algo in S-expression.
Unfortunately Libgcrypt has no function for this, thus we need to
malloc and first.

Fixes-commit: ebf24e3
Signed-off-by: Werner Koch <wk@gnupg.org>
agent/command-ssh.c