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.


git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1901937 13f79535-47bb-0310-9956-ffa450edef68
2 files changed