From b387274d0fb3097d3a252d397226b86b8f98f30d Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Thu, 21 Oct 2021 17:40:22 +0200 Subject: [PATCH] migration_guide: Mention ERR_GET_FUNC() and function code removal Fixes #16817 Reviewed-by: Dmitry Belyavskiy Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/16879) --- doc/man7/migration_guide.pod | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/man7/migration_guide.pod b/doc/man7/migration_guide.pod index 3e4ce9f65a6..627173f180b 100644 --- a/doc/man7/migration_guide.pod +++ b/doc/man7/migration_guide.pod @@ -451,6 +451,11 @@ For example when setting an unsupported curve with EVP_PKEY_CTX_set_ec_paramgen_curve_nid() this function call will not fail but later keygen operations with the EVP_PKEY_CTX will fail. +=head4 Removal of function code from the error codes + +The function code part of the error code is now always set to 0. For that +reason the ERR_GET_FUNC() macro was removed. Applications must resolve +the error codes only using the library number and the reason code. =head2 Installation and Compilation -- 2.47.2