/[Apache-SVN]
ViewVC logotype

Revision 1901937


Jump to revision: Previous Next
Author: kotkov
Date: Wed Jun 15 13:22:58 2022 UTC (22 months, 3 weeks ago)
Changed paths: 2
Log Message:
Remove the use of the ERR_GET_FUNC() macro.

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

Remove its two current usages since there is no replacement for this concept in
the newer versions of OpenSSL.

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

Patch by: Denis Kovalchuk <denis.kovalchuk{_AT_}visualsvn.com>

* buckets/ssl_buckets.c:
  (status_from_ssl_error): Remove ERR_GET_FUNC() from comment.
  (ssl_need_client_cert): Do not log the function code of an error.

* test/MockHTTPinC/MockHTTP_server.c:
  (sslHandshake): Do not log the function code of an error.


Changed paths

Path Details
Directoryserf/trunk/buckets/ssl_buckets.c modified , text changed
Directoryserf/trunk/test/MockHTTPinC/MockHTTP_server.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26