diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-11-18 11:32:33 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-11-20 11:59:23 +1000 |
commit | f2a7151849a566892912737f7b633c04f64a2b9e (patch) | |
tree | d0f3046e6d519d66137111a426c80a60fbd22adf /ssl/ssl_lib.c | |
parent | ae2e4d1fd11910245b6f7b4db31cccf1ff4bec60 (diff) |
Fix crash in genpkey app when -pkeyopt digest:name is used for DH or DSA.
By the time the keygen is called the references to strings inside the
gen ctx are floating pointers. A strdup solves this problem.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13432)
Diffstat (limited to 'ssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions