File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -467,6 +467,9 @@ BOOLEAN QueryUpdateData(
467
467
468
468
CleanupJsonParser (jsonObject );
469
469
470
+ if (PhIsNullOrEmptyString (Context -> Signature ))
471
+ goto CleanupExit ;
472
+
470
473
if (!ParseVersionString (Context ))
471
474
goto CleanupExit ;
472
475
}
@@ -822,7 +825,7 @@ NTSTATUS UpdateDownloadThread(
822
825
// Open the HTTP session with the system proxy configuration if available
823
826
if (!(httpSessionHandle = WinHttpOpen (
824
827
PhGetStringOrEmpty (userAgentString ),
825
- proxyConfig .lpszProxy != NULL ? WINHTTP_ACCESS_TYPE_NAMED_PROXY : WINHTTP_ACCESS_TYPE_DEFAULT_PROXY ,
828
+ proxyConfig .lpszProxy ? WINHTTP_ACCESS_TYPE_NAMED_PROXY : WINHTTP_ACCESS_TYPE_DEFAULT_PROXY ,
826
829
proxyConfig .lpszProxy ,
827
830
proxyConfig .lpszProxyBypass ,
828
831
0
@@ -833,9 +836,9 @@ NTSTATUS UpdateDownloadThread(
833
836
834
837
if (WindowsVersion >= WINDOWS_8_1 )
835
838
{
836
- // Enable GZIP and DEFLATE support on Windows 8.1 and above using undocumented flags.
837
839
ULONG httpFlags = WINHTTP_DECOMPRESSION_FLAG_GZIP | WINHTTP_DECOMPRESSION_FLAG_DEFLATE ;
838
840
841
+ // Enable GZIP and DEFLATE support on Windows 8.1 and above using undocumented flags.
839
842
WinHttpSetOption (
840
843
httpSessionHandle ,
841
844
WINHTTP_OPTION_DECOMPRESSION ,
You can’t perform that action at this time.
0 commit comments