mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[CRYPTNET]
* Sync with Wine 1.7.1. svn path=/trunk/; revision=60141
This commit is contained in:
@@ -14,5 +14,4 @@ set_module_type(cryptnet win32dll)
|
||||
target_link_libraries(cryptnet wine)
|
||||
add_delay_importlibs(cryptnet wininet)
|
||||
add_importlibs(cryptnet crypt32 msvcrt kernel32 ntdll)
|
||||
|
||||
add_cd_file(TARGET cryptnet DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -959,18 +959,12 @@ static BOOL WINAPI HTTP_RetrieveEncodedObjectW(LPCWSTR pszURL,
|
||||
if (ret && !(dwRetrievalFlags & CRYPT_DONT_CACHE_RESULT))
|
||||
{
|
||||
SYSTEMTIME st;
|
||||
FILETIME ft;
|
||||
DWORD len = sizeof(st);
|
||||
|
||||
if (HttpQueryInfoW(hHttp,
|
||||
HTTP_QUERY_EXPIRES | HTTP_QUERY_FLAG_SYSTEMTIME, &st,
|
||||
&len, NULL))
|
||||
{
|
||||
FILETIME ft;
|
||||
|
||||
SystemTimeToFileTime(&st, &ft);
|
||||
CRYPT_CacheURL(pszURL, pObject, dwRetrievalFlags,
|
||||
ft);
|
||||
}
|
||||
if (HttpQueryInfoW(hHttp, HTTP_QUERY_EXPIRES | HTTP_QUERY_FLAG_SYSTEMTIME,
|
||||
&st, &len, NULL) && SystemTimeToFileTime(&st, &ft))
|
||||
CRYPT_CacheURL(pszURL, pObject, dwRetrievalFlags, ft);
|
||||
}
|
||||
InternetCloseHandle(hHttp);
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ reactos/dll/win32/credui # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/crypt32 # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/cryptdlg # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/cryptdll # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/cryptnet # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/cryptnet # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/cryptui # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/dbghelp # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/dciman32 # Synced to Wine-1.5.19
|
||||
|
||||
Reference in New Issue
Block a user