gpg: Fix key conversion for SSH.
* g10/export.c (key_to_sshblob): Use put_membuf with length counted beforehand, and use memcmp instead of strncmp.
- GnuPG-bug-id: T5393
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
gpg: Fix key conversion for SSH. Tags None Subscribers None
Description
Details
|