summaryrefslogtreecommitdiff
path: root/ssh-pkcs11.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-01-21 13:50:17 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-01-21 13:50:17 +1100
commitb6dd3277f2c49f9584a2097bc792e8f480397e87 (patch)
treef01725af062baf8b4f7028947554d063284dcbd5 /ssh-pkcs11.c
parentb2eb9db35b7191613f2f4b934d57b25938bb34b3 (diff)
downloadopenssh-git-b6dd3277f2c49f9584a2097bc792e8f480397e87.tar.gz
Wrap ECC static globals in EC_KEY_METHOD_NEW too.
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