summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_kmeth.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ec/ec_kmeth.c')
-rw-r--r--crypto/ec/ec_kmeth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_kmeth.c b/crypto/ec/ec_kmeth.c
index 172aaddd20..a329e7adcb 100644
--- a/crypto/ec/ec_kmeth.c
+++ b/crypto/ec/ec_kmeth.c
@@ -109,9 +109,9 @@ EC_KEY *EC_KEY_new_method(ENGINE *engine)
}
ret->engine = engine;
} else
- ret->engine = ENGINE_get_default_EC_KEY();
+ ret->engine = ENGINE_get_default_EC();
if (ret->engine) {
- ret->meth = ENGINE_get_EC_KEY(ret->engine);
+ ret->meth = ENGINE_get_EC(ret->engine);
if (!ret->meth) {
ECerr(EC_F_EC_KEY_NEW_METHOD, ERR_R_ENGINE_LIB);
ENGINE_finish(ret->engine);