You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/10/15 11:30:40 UTC

[tomcat-native] branch master updated: Use OpenSSL 3 method when compiling against OpenSSL 3

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 <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org