From b6dd3277f2c49f9584a2097bc792e8f480397e87 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 21 Jan 2019 13:50:17 +1100 Subject: Wrap ECC static globals in EC_KEY_METHOD_NEW too. --- ssh-pkcs11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index de65144f3..a798fde4d 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 -- cgit v1.2.3