Searched refs:dhparam (Results 1 – 1 of 1) sorted by relevance
3733 DH *dhparam = DH_new(); in php_openssl_generate_private_key() local3734 if (dhparam && DH_generate_parameters_ex(dhparam, req->priv_key_bits, 2, NULL)) { in php_openssl_generate_private_key()3735 DH_set_method(dhparam, DH_get_default_method()); in php_openssl_generate_private_key()3736 if (DH_check(dhparam, &codes) && codes == 0 && DH_generate_key(dhparam)) { in php_openssl_generate_private_key()3737 if (EVP_PKEY_assign_DH(req->priv_key, dhparam)) { in php_openssl_generate_private_key()3741 DH_free(dhparam); in php_openssl_generate_private_key()
Completed in 23 milliseconds