summaryrefslogtreecommitdiff
path: root/ssh-pkcs11.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-pkcs11.c')
-rw-r--r--ssh-pkcs11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c
index de65144f..a798fde4 100644
--- a/ssh-pkcs11.c
+++ b/ssh-pkcs11.c
@@ -190,8 +190,10 @@ pkcs11_del_provider(char *provider_id)
static RSA_METHOD *rsa_method;
static int rsa_idx = 0;
+#ifdef EC_KEY_METHOD_NEW
static EC_KEY_METHOD *ec_key_method;
static int ec_key_idx = 0;
+#endif
/* release a wrapped object */
static void