diff options
author | slontis <shane.lontis@oracle.com> | 2023-01-11 14:32:07 +1000 |
---|---|---|
committer | Todd Short <todd.short@me.com> | 2023-01-12 10:46:22 -0500 |
commit | 7efc653c43851dcbc3ec043baded029c7d31ab9f (patch) | |
tree | 9f577f989bd8404d0f9dd1c4d203964b50dcacfa /providers | |
parent | bb4a32ba24ab186aba0b45150934d9eae68d78d5 (diff) | |
download | openssl-new-7efc653c43851dcbc3ec043baded029c7d31ab9f.tar.gz |
Make RSA_generate_multi_prime_key() not segfault if e is NULL.
This is not a big problem for higher level keygen, as these set e
beforehand to a default value. But the logic at the lower level is
incorrect since it was doing a NULL check in one place but then
segfaulting during a later BN_copy().
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/20025)
Diffstat (limited to 'providers')
0 files changed, 0 insertions, 0 deletions