This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/master by this push:
new ac07270 Use OpenSSL 3 method when compiling against OpenSSL 3
ac07270 is described below
commit ac07270c9b44d53ac98e859ebedbcd99ca220224
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Oct 15 12:30:17 2020 +0100
Use OpenSSL 3 method when compiling against OpenSSL 3
---
native/src/sslutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/native/src/sslutils.c b/native/src/sslutils.c
index b31a1b8..314bdad 100644
--- a/native/src/sslutils.c
+++ b/native/src/sslutils.c
@@ -995,7 +995,7 @@ static OCSP_RESPONSE *get_ocsp_response(apr_pool_t *p, X509
*cert, X509 *issuer,
#if OPENSSL_VERSION_NUMBER < 0x30000000L
if (OCSP_parse_url(url,&hostname, &c_port, &path, &use_ssl) == 0 )
#else
- if (OCSP_parse_url(url,&hostname, &c_port, NULL, &path, &use_ssl) == 0 )
+ if (OCSP_HTTP_parse_url(url,&hostname, &c_port, NULL, &path, &use_ssl) ==
0 )
#endif
goto end;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]