dssenh/tests: Added Cylink Mek algorithm definition and crypto provider algorithm tests for dssenh (try 2).

Alexandre Julliard julliard at winehq.org
Mon Jan 13 09:40:12 CST 2014


Marek Chmiel <kcmark at gmail.com> writes:

> +    for(i = 0; i < testLen; i++)
> +    {
> +        SetLastError(0xdeadbeef);
> +        dataLen = sizeof(dataBuffer);
> +
> +        result = CryptGetProvParam(hProv, PP_ENUMALGS_EX, dataBuffer, &dataLen, flag);
> +        ok(result, "Failed to get parameter from CSP.");
> +
> +        pointer = dataBuffer;

That's better but you should still check that you reached the end of the
enumeration.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list