* src/pki.c (ssh_signature_free): Fix test for ECC using gcrypt.

Signed-off-by: Justus Winter <jus...@g10code.com>
---
 src/pki.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pki.c b/src/pki.c
index 36e3c0c..a3317cd 100644
--- a/src/pki.c
+++ b/src/pki.c
@@ -357,7 +357,7 @@ void ssh_signature_free(ssh_signature sig)
 #endif
             break;
         case SSH_KEYTYPE_ECDSA:
-#ifdef HAVE_LIBGCRYPT_ECC
+#ifdef HAVE_GCRYPT_ECC
             gcry_sexp_release(sig->ecdsa_sig);
 #elif defined(HAVE_LIBCRYPTO) && defined(HAVE_OPENSSL_ECC)
             ECDSA_SIG_free(sig->ecdsa_sig);
-- 
2.10.2


Reply via email to