Wrap ECC static globals in EC_KEY_METHOD_NEW too.

This commit is contained in:
Darren Tucker 2019-01-21 13:50:17 +11:00
parent b2eb9db35b
commit b6dd3277f2
1 changed files with 2 additions and 0 deletions

View File

@ -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