]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
VMS: Redefine _XOPEN_SOURCE_EXTENDED with the value 1 in apps/ocsp.c
authorRichard Levitte <levitte@openssl.org>
Thu, 23 May 2024 06:04:42 +0000 (08:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 May 2024 07:00:57 +0000 (09:00 +0200)
Some versions if the VMS C system header files seem to require this.

Fixes #24466 on release older than 3.3.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/24471)

(cherry picked from commit 54e9e254feefb153b4b94330f9d3f20b6120c106)

apps/ocsp.c

index 821e224c6ce45da6940a949035704945034e3563..73841750ec3129d896e997ed38a1b0c57b9c8f5e 100644 (file)
@@ -11,7 +11,7 @@
 
 #ifdef OPENSSL_SYS_VMS
   /* So fd_set and friends get properly defined on OpenVMS */
-# define _XOPEN_SOURCE_EXTENDED
+# define _XOPEN_SOURCE_EXTENDED 1
 #endif
 
 #include <stdio.h>