[Bug 13647] DSM Plugin for UltraVNC 1.0.4 Doesn't Work

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 28 00:37:23 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=13647





--- Comment #8 from Chad Sikorra <chad.sikorra at 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 :)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list