mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
advapi32/tests: Don't use FreeLibrary with GetModuleHandle.
This commit is contained in:
parent
eff5b13043
commit
71697ec116
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user