You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by Denis Kovalchuk <de...@visualsvn.com.INVALID> on 2022/06/15 12:38:26 UTC

[PATCH] Remove the use of the ERR_GET_FUNC() macro

Hello!

The ERR_GET_FUNC() macro was removed in OpenSSL 3.0 [1]:

[[[
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.
]]]

Since there is no replacement for this concept in the newer versions of
OpenSSL, I would like to propose a patch that removes its two current usages.

[1] https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Kind Regards,
Denis Kovalchuk

Re: [PATCH] Remove the use of the ERR_GET_FUNC() macro

Posted by Evgeny Kotkov <ev...@visualsvn.com.INVALID>.
Denis Kovalchuk <de...@visualsvn.com> writes:

> The ERR_GET_FUNC() macro was removed in OpenSSL 3.0 [1]:
>
> [[[
> 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.
> ]]]
>
> Since there is no replacement for this concept in the newer versions of
> OpenSSL, I would like to propose a patch that removes its two current usages.

Committed in https://svn.apache.org/r1901937


Thanks,
Evgeny Kotkov