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 2022/06/29 09:50:57 UTC
[tomcat-native] branch 1.2.x updated: Fix compilation issue on Windows
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.2.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/1.2.x by this push:
new 001b39a10 Fix compilation issue on Windows
001b39a10 is described below
commit 001b39a10bb42deb9c0e7cce7df19518f8d28aef
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 29 10:50:51 2022 +0100
Fix compilation issue on Windows
---
native/src/ssl.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/native/src/ssl.c b/native/src/ssl.c
index c44ef0f79..9d8f7daff 100644
--- a/native/src/ssl.c
+++ b/native/src/ssl.c
@@ -928,8 +928,10 @@ TCN_IMPLEMENT_CALL(jint, SSL, fipsModeGet)(TCN_STDARGS)
{
UNREFERENCED(o);
#ifdef OPENSSL_FIPS
+ UNREFERENCED(o);
return FIPS_mode();
#elif (OPENSSL_VERSION_NUMBER > 0x2FFFFFFFL)
+ UNREFERENCED(o);
EVP_MD *md;
const OSSL_PROVIDER *provider;
const char *name;
@@ -949,6 +951,7 @@ TCN_IMPLEMENT_CALL(jint, SSL, fipsModeGet)(TCN_STDARGS)
return 1;
}
#else
+ UNREFERENCED(o);
/* FIPS is unavailable */
tcn_ThrowException(e, "FIPS was not available to tcnative at build time. You will need to re-build tcnative against an OpenSSL with FIPS.");
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org