mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
common: Fix commit ceef5568 so that it builds with libgcrypt < 1.6
* common/ssh-utils.c (get_fingerprint): Use GCRY_PK_ECC only if defined.
This commit is contained in:
parent
aacb43a730
commit
a37f63d7b8
@ -89,7 +89,9 @@ 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;
|
||||
#if GCRYPT_VERSION_NUMBER >= 0x010600
|
||||
case GCRY_PK_ECC:
|
||||
#endif
|
||||
case GCRY_PK_ECDSA:
|
||||
/* We only support the 3 standard curves for now. It is just a
|
||||
quick hack. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user