This hooks the DH code into the engine framework in the same way that has

already been done for RSA. The others (DSA + RAND) will probably follow
in the near future too, but DH is easiest to test with RSA because one
can just force the use of the EDH cipher-suites.
This commit is contained in:
Geoff Thorpe
2000-05-29 00:46:47 +00:00
parent 6111f7408b
commit 9c5ed502ee
4 changed files with 79 additions and 16 deletions

View File

@@ -102,7 +102,7 @@ ENGINE *ENGINE_openssl()
* that we want to steal. */
engine_openssl.rsa_meth = RSA_get_default_openssl_method();
engine_openssl.dsa_meth = DSA_get_default_method();
engine_openssl.dh_meth = DH_get_default_method();
engine_openssl.dh_meth = DH_get_default_openssl_method();
engine_openssl.rand_meth = RAND_SSLeay();
engine_openssl.bn_mod_exp = BN_mod_exp;
return &engine_openssl;