From 3786d74868fe440250f902ce1a78974136ca9304 Mon Sep 17 00:00:00 2001 From: jwalch Date: Thu, 24 Sep 2020 11:43:06 -0400 Subject: 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 Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/12917) --- CHANGES.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.md') diff --git a/CHANGES.md b/CHANGES.md index c88629e..595a742 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -32,6 +32,11 @@ OpenSSL 3.0 *Richard Levitte* + * Deprecated EVP_PKEY_CTX_set_rsa_keygen_pubexp() & introduced + EVP_PKEY_CTX_set1_rsa_keygen_pubexp(), which is now preferred. + + *Jeremy Walch* + * Changed all "STACK" functions to be macros instead of inline functions. Macro parameters are still checked for type safety at compile time via helper inline functions. -- cgit v1.1