http://bugs.winehq.org/show_bug.cgi?id=13647
--- Comment #8 from Chad Sikorra chad.sikorra@gmail.com 2009-03-28 00:37:23 --- Ok...I fixed it...do I get to pay myself now? haha.
I'm not sure if this is the correct fix or not, but I found out that the reason it failed in the default switch I mentioned above (in rsaenh.c) was because the dwMaxLen was set to 56 and dwMinLen was set to 40. However, the key length was being read as 128 so it would fail the check. It was getting the min and max from RC4 definitions in PROV_ENUMALGS_EX in rsaenh.c (The first occurence of RC4 - line 163 or so) ....
-------------- {CALG_RC4, 40, 40, 56,0, 4,"RC4", 24,"RSA Data Security's RC4"}, --------------
I just changed that to ....
-------------- {CALG_RC4, 128, 40, 128,0, 4,"RC4", 24,"RSA Data Security's RC4"}, --------------
Is this just a mistype or copy-paste mistake in that section? It appears that the first RC2 may have the same type of issue. Can anyone in the know say if this is the right solution?
Yay, now I can connect to all of the terminals we have without needing to boot into my XP VM :)