From: Tomas Mraz Date: Thu, 21 Oct 2021 15:40:22 +0000 (+0200) Subject: migration_guide: Mention ERR_GET_FUNC() and function code removal X-Git-Tag: openssl-3.2.0-alpha1~3428 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F17565%2Fhead;p=thirdparty%2Fopenssl.git 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) --- 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