summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_kmeth.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-10-28 13:29:43 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-12-09 23:09:19 +0100
commit7d711cbc335206327d1dbb0389d9ab83b461d4de (patch)
treef4c0429cda8b7efeb811dc4ed6fb222871f52537 /crypto/ec/ec_kmeth.c
parentremove ecdsa from mkdef.pl (diff)
downloadopenssl-7d711cbc335206327d1dbb0389d9ab83b461d4de.tar.xz
openssl-7d711cbc335206327d1dbb0389d9ab83b461d4de.zip
Engine EC_KEY_METHOD functionality.
Rename ENGINE _EC_KEY functions to _EC. Add support for EC_KEY_METHOD in ENGINE_set_default et al. Copy ec_meth. Reviewed-by: Richard Levitte <levitte@openssl.org>
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);