set standard EC method in eng_openssl
authorDr. Stephen Henson <steve@openssl.org>
Wed, 9 Dec 2015 00:12:34 +0000 (00:12 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 9 Dec 2015 22:09:20 +0000 (22:09 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/engine/eng_openssl.c

index 90a95541bae1e364ae1ad6ce5fd31142b6050726..ba2656790f98b69389a497df6c65e5fc2403847d 100644 (file)
@@ -155,6 +155,7 @@ static int bind_helper(ENGINE *e)
         || !ENGINE_set_DSA(e, DSA_get_default_method())
 # endif
 # ifndef OPENSSL_NO_EC
+        || !ENGINE_set_EC(e, EC_KEY_OpenSSL())
 # endif
 # ifndef OPENSSL_NO_DH
         || !ENGINE_set_DH(e, DH_get_default_method())