Commit 71697ec1 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

advapi32/tests: Don't use FreeLibrary with GetModuleHandle.

parent eff5b130
......@@ -86,7 +86,7 @@ static void test_md5_ctx(void)
if (!pMD5Init || !pMD5Update || !pMD5Final)
{
skip("Needed functions are not available\n");
goto out;
return;
}
memset( &ctx, 0, sizeof(ctx) );
......@@ -102,9 +102,6 @@ static void test_md5_ctx(void)
pMD5Final( &ctx );
ok( ctxcmp( &ctx, &ctx_initialized ), "context has changed\n" );
ok( !memcmp( ctx.digest, expect, sizeof(expect) ), "incorrect result\n" );
out:
FreeLibrary( module );
}
START_TEST(crypt_md5)
......
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