]> git.ipfire.org Git - thirdparty/openssl.git/commit - CHANGES.md
en EVP_PKEY_CTX_set_rsa_keygen_pubexp() BIGNUM management
authorjwalch <jeremy.walch@gmail.com>
Thu, 24 Sep 2020 15:43:06 +0000 (11:43 -0400)
committerShane Lontis <shane.lontis@oracle.com>
Fri, 25 Sep 2020 21:31:59 +0000 (07:31 +1000)
commit3786d74868fe440250f902ce1a78974136ca9304
tree14b99e0d58685d1a46482f6f80558113f5b5fa11
parentfa9e541d49b812549d56c03852290a86aa1645ff
en EVP_PKEY_CTX_set_rsa_keygen_pubexp() BIGNUM management

Fixes #12635

As discussed in the issue, supporting the set0-like semantics long-term is not necessarily desirable, although necessary for short-term compatibility concerns. So I've deprecated the original method and added an equivalent that is explicitly labelled as set1.

I tried to audit existing usages of the (now-deprecated) API and update them to use set1 if that appeared to align with their expectations.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12917)
CHANGES.md
apps/genrsa.c
crypto/evp/pmeth_lib.c
crypto/rsa/rsa_lib.c
crypto/rsa/rsa_pmeth.c
doc/man3/EVP_PKEY_CTX_ctrl.pod
include/crypto/evp.h
include/openssl/rsa.h
test/acvp_test.c
util/libcrypto.num