diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-01-21 13:50:17 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-01-21 13:50:17 +1100 |
commit | b6dd3277f2c49f9584a2097bc792e8f480397e87 (patch) | |
tree | f01725af062baf8b4f7028947554d063284dcbd5 | |
parent | b2eb9db35b7191613f2f4b934d57b25938bb34b3 (diff) |
Wrap ECC static globals in EC_KEY_METHOD_NEW too.
-rw-r--r-- | ssh-pkcs11.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
190 | 190 | ||
191 | static RSA_METHOD *rsa_method; | 191 | static RSA_METHOD *rsa_method; |
192 | static int rsa_idx = 0; | 192 | static int rsa_idx = 0; |
193 | #ifdef EC_KEY_METHOD_NEW | ||
193 | static EC_KEY_METHOD *ec_key_method; | 194 | static EC_KEY_METHOD *ec_key_method; |
194 | static int ec_key_idx = 0; | 195 | static int ec_key_idx = 0; |
196 | #endif | ||
195 | 197 | ||
196 | /* release a wrapped object */ | 198 | /* release a wrapped object */ |
197 | static void | 199 | static void |