wininet/tests: Remove a stray reference to CryptReleaseContext(). This gets the test to run again on Win95.

Francois Gouget fgouget at free.fr
Thu May 22 03:37:53 CDT 2008


---
 dlls/advapi32/tests/crypt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/tests/crypt.c b/dlls/advapi32/tests/crypt.c
index 8ad2b6b..1d2cfa2 100644
--- a/dlls/advapi32/tests/crypt.c
+++ b/dlls/advapi32/tests/crypt.c
@@ -903,7 +903,7 @@ static void test_machine_guid(void)
    /* Create and release a provider */
    ret = pCryptAcquireContextA(&hCryptProv, szKeySet, NULL, PROV_RSA_FULL, 0);
    ok(ret, "CryptAcquireContextA failed: %08x\n", GetLastError());
-   CryptReleaseContext(hCryptProv, 0);
+   pCryptReleaseContext(hCryptProv, 0);
 
    if (restoreGuid)
        RegSetValueExA(key, "MachineGuid", 0, REG_SZ, (const BYTE *)originalGuid,
-- 
1.5.5.1




More information about the wine-patches mailing list