diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-10-28 13:29:43 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-12-09 23:09:19 +0100 |
commit | 7d711cbc335206327d1dbb0389d9ab83b461d4de (patch) | |
tree | f4c0429cda8b7efeb811dc4ed6fb222871f52537 /crypto/ec/ec_kmeth.c | |
parent | remove ecdsa from mkdef.pl (diff) | |
download | openssl-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.c | 4 |
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); |