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

This commit is contained in:
Paul Vriens 2007-03-05 14:11:17 +01:00 committed by Alexandre Julliard
parent eff5b13043
commit 71697ec116

View File

@ -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)