1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

ssh: Fix for newer Libgcrypt versions.

* common/ssh-utils.c (get_fingerprint): Add GCRY_PK_ECC case.
--

Reported-by: Anatol Pomozov
This commit is contained in:
Werner Koch 2014-06-23 13:16:44 +02:00
parent 014b2103fc
commit ceef5568d5

View File

@ -89,6 +89,7 @@ get_fingerprint (gcry_sexp_t key, void **r_fpr, size_t *r_len,
elems = "pqgy";
gcry_md_write (md, "\0\0\0\x07ssh-dss", 11);
break;
case GCRY_PK_ECC:
case GCRY_PK_ECDSA:
/* We only support the 3 standard curves for now. It is just a
quick hack. */