agent: Skip unknown unknown ssh curves seen on cards.
* agent/command-ssh.c (ssh_handler_request_identities): Skip unknown curves.
For example when using my standard ed25519 token and testing cards
with only Brainpool support, the ssh-agent failed due to the unknown
curves seen on the card. This patches fixes this by ignoring keys
with unknown curves.
(cherry picked from commit 2d2391dfc25cfe160581b1bb4b4b8fc4764ac304)
- Signed-off-by: Werner Koch <firstname.lastname@example.org>