From ad35cdac74a74b30b6906c74c9db24dc1bf90a27 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 16 May 2007 12:16:49 +0000 Subject: [PATCH] PR: 1516 Revert change in 1516 because it breaks Windows build. Use a modified version of the headers from s_client.c which has used similar functionality without any problems. --- apps/ocsp.c | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/apps/ocsp.c b/apps/ocsp.c index 23c7686860..127eef6681 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -58,23 +58,14 @@ #ifndef OPENSSL_NO_OCSP #include +#include #include -#define _XOPEN_SOURCE_EXTENDED 1 /* Or fd_set, select() and so on won't be - declared properly on Compaq platforms - (at least with DEC C). - */ -#ifdef OPENSSL_SYS_VMS -# include -#else -# include -# include -#endif -#include "apps.h" -#include +#include +#include #include -#include +#include #include -#include +#include "apps.h" /* Maximum leeway in validity period: default 5 minutes */ #define MAX_VALIDITY_PERIOD (5 * 60) -- GitLab