New function ssl_generate_param_group
authorDr. Stephen Henson <steve@openssl.org>
Sat, 23 Sep 2017 01:40:30 +0000 (02:40 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 26 Sep 2017 12:00:26 +0000 (13:00 +0100)
commit612f9d2227897a3dc76c9dc74a8c30aa1dc7b5a1
tree9a45e7f3aee4e8360658617108950bb3ad5d5152
parent43b95d736561e64dd7c1c97555f39a98c56d1ae3
New function ssl_generate_param_group

Setup EVP_PKEY structure from a group ID in ssl_generate_param_group,
replace duplicate code with this function.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/=4412)
ssl/s3_lib.c
ssl/ssl_locl.h
ssl/statem/extensions_srvr.c
ssl/statem/statem_clnt.c