From: Dr. Stephen Henson Date: Thu, 5 Jun 2008 16:56:00 +0000 (+0000) Subject: Make headers work with older versions of Window platform SDK. X-Git-Tag: OpenSSL_0_9_8i~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=353415cc818eed0f309d109eee6ce1953f45e7c2;p=oweals%2Fopenssl.git Make headers work with older versions of Window platform SDK. --- diff --git a/engines/e_capi.c b/engines/e_capi.c index f2e45c9e50..b587d42378 100644 --- a/engines/e_capi.c +++ b/engines/e_capi.c @@ -56,22 +56,24 @@ #include #include #include -#include #include #include -#include #ifdef OPENSSL_SYS_WIN32 #ifndef OPENSSL_NO_CAPIENG -#ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x400 +#if _WIN32_WINNT < 0x0500 +#define _WIN32_WINNT 0x0500 #endif #include #include -#undef X509_NAME +#undef X509_EXTENSIONS +#undef X509_CERT_PAIR + +#include +#include #include "e_capi_err.h" #include "e_capi_err.c" @@ -1616,6 +1618,7 @@ static int client_cert_select(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs) * CryptUIDlgSelectCertificateFromStore() to produce a dialog box. */ +#include #include #define dlg_title L"OpenSSL Application SSL Client Certificate Selection"