mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
curl_sspi: fix possibly undefined CRYPT_E_REVOKED
Bug: https://github.com/bagder/curl/pull/411 Reported-by: Viktor Szakats
This commit is contained in:
parent
e30763c72e
commit
df6a4d3519
@ -249,7 +249,7 @@
|
|||||||
# ifdef HAVE_WINSOCK2_H
|
# ifdef HAVE_WINSOCK2_H
|
||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
# ifdef HAVE_WS2TCPIP_H
|
# ifdef HAVE_WS2TCPIP_H
|
||||||
# include <ws2tcpip.h>
|
# include <ws2tcpip.h>
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
# ifdef HAVE_WINSOCK_H
|
# ifdef HAVE_WINSOCK_H
|
||||||
|
@ -327,6 +327,10 @@ extern PSecurityFunctionTable s_pSecFn;
|
|||||||
# define SEC_I_SIGNATURE_NEEDED ((HRESULT)0x0009035CL)
|
# define SEC_I_SIGNATURE_NEEDED ((HRESULT)0x0009035CL)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CRYPT_E_REVOKED
|
||||||
|
# define CRYPT_E_REVOKED ((HRESULT)0x80092010L)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
# define SECFLAG_WINNT_AUTH_IDENTITY \
|
# define SECFLAG_WINNT_AUTH_IDENTITY \
|
||||||
(unsigned long)SEC_WINNT_AUTH_IDENTITY_UNICODE
|
(unsigned long)SEC_WINNT_AUTH_IDENTITY_UNICODE
|
||||||
|
@ -39,6 +39,10 @@
|
|||||||
#include <idna.h>
|
#include <idna.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_WINDOWS_SSPI
|
||||||
|
#include "curl_sspi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "strerror.h"
|
#include "strerror.h"
|
||||||
#include "curl_printf.h"
|
#include "curl_printf.h"
|
||||||
#include "curl_memory.h"
|
#include "curl_memory.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user