summaryrefslogtreecommitdiff
path: root/ssh-pkcs11-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-pkcs11-helper.c')
-rw-r--r--ssh-pkcs11-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c
index 807ceb660..cb873e20b 100644
--- a/ssh-pkcs11-helper.c
+++ b/ssh-pkcs11-helper.c
@@ -206,6 +206,7 @@ process_sign(void)
206 slen = ret; 206 slen = ret;
207 ok = 0; 207 ok = 0;
208 } 208 }
209#ifdef OPENSSL_HAS_ECC
209 } else if (key->type == KEY_ECDSA) { 210 } else if (key->type == KEY_ECDSA) {
210 u_int xslen = ECDSA_size(key->ecdsa); 211 u_int xslen = ECDSA_size(key->ecdsa);
211 212
@@ -219,6 +220,7 @@ process_sign(void)
219 error("%s: ECDSA_sign" 220 error("%s: ECDSA_sign"
220 " returns %d", __func__, ret); 221 " returns %d", __func__, ret);
221 slen = xslen; 222 slen = xslen;
223#endif /* OPENSSL_HAS_ECC */
222 } else 224 } else
223 error("%s: don't know how to sign with key " 225 error("%s: don't know how to sign with key "
224 "type %d", __func__, (int)key->type); 226 "type %d", __func__, (int)key->type);