This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/1.3.x by this push:
new 2b879fe3e Build Windows binaries with OCSP support enabled by default.
2b879fe3e is described below
commit 2b879fe3e00c26e0467d379262a39b78ed866d46
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Dec 1 16:37:53 2025 +0000
Build Windows binaries with OCSP support enabled by default.
---
native/BUILDING | 2 --
native/NMAKEmakefile | 4 ++--
xdocs/miscellaneous/changelog.xml | 4 ++++
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/native/BUILDING b/native/BUILDING
index eab66a699..c9f7532fb 100644
--- a/native/BUILDING
+++ b/native/BUILDING
@@ -145,8 +145,6 @@ Windows
> c:\cmsc\setenv.bat x64
> nmake -f NMAKEMakefile WITH_APR=srclib\apr\WINXP_X64_LIB_RELEASE
WITH_OPENSSL=srclib\openssl\release-x64 APR_DECLARE_STATIC=1
- Note: Use ENABLE_OCSP=1 to create OCSP enabled builds
-
FIPS
====
diff --git a/native/NMAKEmakefile b/native/NMAKEmakefile
index 129ebe7b7..492335369 100644
--- a/native/NMAKEmakefile
+++ b/native/NMAKEmakefile
@@ -18,7 +18,7 @@
# NMAKEmakefile Tomcat Native makefile.
# Usage:
# APR_DECLARE_STATIC=1 Use static version of the APR
-# ENABLE_OCSP=1 Enable OpenSSL OCSP code
+# DISABLE_OCSP=1 Disable OpenSSL OCSP code
# OPENSSL_NEW_LIBS=1 Use new OpenSSL lib file names
# DEBUG=1 Build DEBUG version of TCN
#
@@ -42,7 +42,7 @@ APR_LIB = libapr-1.lib
CFLAGS = $(CFLAGS) -DAPR_DECLARE_STATIC
APR_LIB = apr-1.lib
!ENDIF
-!IF !DEFINED(ENABLE_OCSP)
+!IF DEFINED(DISABLE_OCSP)
CFLAGS = $(CFLAGS) -DOPENSSL_NO_OCSP
!ENDIF
diff --git a/xdocs/miscellaneous/changelog.xml
b/xdocs/miscellaneous/changelog.xml
index b02b5a291..b6426b37d 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -48,6 +48,10 @@
<fix>
Fix the autoconf warnings when creating a release. (markt)
</fix>
+ <update>
+ The Windows binaries are now built with OCSP support enabled by default.
+ (markt)
+ </update>
</changelog>
</section>
<section name="Changes in 1.3.1">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]