diff options
author | Werner Koch <[email protected]> | 2014-06-23 11:16:44 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-06-23 11:16:44 +0000 |
commit | ceef5568d53b286efe639c6fd1d37f154be133ef (patch) | |
tree | 88a0d2bf19c1e9202d7ac7818d6870750c80c041 | |
parent | gpg: Avoid infinite loop in uncompressing garbled packets. (diff) | |
download | gnupg-ceef5568d53b286efe639c6fd1d37f154be133ef.tar.gz gnupg-ceef5568d53b286efe639c6fd1d37f154be133ef.zip |
ssh: Fix for newer Libgcrypt versions.
* common/ssh-utils.c (get_fingerprint): Add GCRY_PK_ECC case.
--
Reported-by: Anatol Pomozov
-rw-r--r-- | common/ssh-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ssh-utils.c b/common/ssh-utils.c index d8f057db5..11ff0fb3f 100644 --- a/common/ssh-utils.c +++ b/common/ssh-utils.c @@ -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. */ |