commit | b6dd3277f2c49f9584a2097bc792e8f480397e87 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@dtucker.net> | Mon Jan 21 13:50:17 2019 +1100 |
committer | Darren Tucker <dtucker@dtucker.net> | Mon Jan 21 13:50:17 2019 +1100 |
tree | f01725af062baf8b4f7028947554d063284dcbd5 | |
parent | b2eb9db35b7191613f2f4b934d57b25938bb34b3 [diff] |
Wrap ECC static globals in EC_KEY_METHOD_NEW too.
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index de65144..a798fde 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c
@@ -190,8 +190,10 @@ 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