diff options
-rw-r--r-- | common/ssh-utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/ssh-utils.c b/common/ssh-utils.c index 11ff0fb3f..30cb4511d 100644 --- a/common/ssh-utils.c +++ b/common/ssh-utils.c @@ -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. */ |