rsaenh: Revert part of d3c482250a8232e9657ecefb3e61fff0194e3fbe

Alexandre Julliard julliard at
Wed Oct 21 10:39:43 CDT 2009

Juan Lang <juan.lang at> writes:

> Commit d3c482250a8232e9657ecefb3e61fff0194e3fbe added a test that
> showed that the default provider should accept RC2 keys of up to 128
> bits in length.  The trouble is the fix was wrong:  the default
> provider in Wine was the base cryptographic provider, but it has been
> the enhanced cryptographic provider for some time in Windows.  The
> enhanced provider in Wine already supported 128 bit RC2 keys, and the
> test also used the default provider.  Commit
> 7a6381e852a4daf0bbc77ffcb9da3bd85002e1d8 made the enhanced provider
> the default, so the test succeeds without this portion of the patch
> applied.

It fails for me:

../../../tools/runtest -q -P wine -M advapi32.dll -T ../../.. -p crypt.c && touch crypt.ok
crypt.c:972: Test failed: CryptImportKey error 2148073481
make: *** [crypt.ok] Error 1

Alexandre Julliard
julliard at

More information about the wine-devel mailing list