From 14711fffbf2726f94d6a05d8f9cbae7fe7a4bc09 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 18 Sep 2020 20:46:08 +0200 Subject: EVP: Enforce that EVP_PKEY_set_alias_type() only works with legacy keys This also deprecates the function, as it is not necessary any more, and should fall out of use. Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/12920) --- CHANGES.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES.md') diff --git a/CHANGES.md b/CHANGES.md index 49324c4790..c88629ebeb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -23,6 +23,15 @@ OpenSSL 3.0 ### Changes between 1.1.1 and 3.0 [xx XXX xxxx] + * Deprecated EVP_PKEY_set_alias_type(). This function was previously + needed as a workaround to recognise SM2 keys. With OpenSSL 3.0, this key + type is internally recognised so the workaround is no longer needed. + + Functionality is still retained as it is, but will only work with + EVP_PKEYs with a legacy internal key. + + *Richard Levitte* + * 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.2.3