Commit 0b9a4ae3 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winhttp: Fix compilation on systems that don't support nameless unions.

parent 6f4ad21b
......@@ -42,6 +42,8 @@
#undef DSA
#endif
#define NONAMELESSUNION
#include "wine/debug.h"
#include "wine/library.h"
......@@ -293,7 +295,7 @@ static BOOL netconn_verify_cert( PCCERT_CONTEXT cert, HCERTSTORE store,
SSL_EXTRA_CERT_CHAIN_POLICY_PARA sslExtraPolicyPara;
CERT_CHAIN_POLICY_STATUS policyStatus;
sslExtraPolicyPara.cbSize = sizeof(sslExtraPolicyPara);
sslExtraPolicyPara.u.cbSize = sizeof(sslExtraPolicyPara);
sslExtraPolicyPara.dwAuthType = AUTHTYPE_SERVER;
sslExtraPolicyPara.pwszServerName = server;
policyPara.cbSize = sizeof(policyPara);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment