This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/main by this push:
new 884ccafde Fix compilation issue on Windows
884ccafde is described below
commit 884ccafde57794155ee6f1c4d6685fea425de643
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Jun 22 12:41:18 2022 +0100
Fix compilation issue on Windows
---
native/src/ssl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/native/src/ssl.c b/native/src/ssl.c
index 9fe4d9980..8e155e81b 100644
--- a/native/src/ssl.c
+++ b/native/src/ssl.c
@@ -912,15 +912,16 @@ TCN_IMPLEMENT_CALL(void, SSL, randSet)(TCN_STDARGS,
jstring file)
TCN_IMPLEMENT_CALL(jint, SSL, fipsModeGet)(TCN_STDARGS)
{
- UNREFERENCED(o);
#if defined(LIBRESSL_VERSION_NUMBER)
+ UNREFERENCED(o);
/* LibreSSL doesn't support FIPS */
return 0;
#else
EVP_MD *md;
const OSSL_PROVIDER *provider;
const char *name;
+ UNREFERENCED(o);
// Maps the OpenSSL 3. x onwards behaviour to theOpenSSL 1.x API
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]