[Wine] Re: Crypto API

Juan Lang juan_lang at yahoo.com
Wed Aug 2 18:48:17 CDT 2006

Whoa, you're totally right, that'll still crash.  Whoops!
Does the attached patch work for you?  You'll need to compile from source and apply the pach to test it, I'm afraid.


----- Original Message ----
From: Andrew Senff <andrew at autobaun.net>
To: Juan Lang <juan_lang at yahoo.com>; Andrew Senff <andrew at autobaun.net>
Cc: wine-users at winehq.org
Sent: Wednesday, August 2, 2006 4:39:44 PM
Subject: RE: Crypto API


    Thanks for the information I greatly appreciate it. I have updated
the appdb with a link to where the instructions are kept. I wanted to make
sure that it was logging in 100% of the time before it was updatedb in the
appdb. I will go back to update the appdb with complete set of instructions
and probably an easier way to get this accomplished.

    I tried to set the rsaenh.dll to builtin with wine0.9.18 and this
crashes the game. What I get is a different error that the symbol engine
couldn't be started (error from the game) and in the wine debug log I get
the follow errors that are at the end of this email.

Because of how large the debug log is I attached it to this email for a
complete look on what is happening. 

A little background on the box that I am using, FC5 (2.6.17) AMD_64 with
nvidia 5700... Let me know if there is any other information that you need.
Please note there is a 7 day free trial so if anyone wants to help me out
with these please do so! :)   

Thank you for the help!


WineDbg starting on pid 0x8
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:7c328b21 ESP:7c70976c EBP:7c709780 EFLAGS:00010a92(   - 00      ROISA1)
 EAX:000000d3 EBX:7c33d258 ECX:00000038 EDX:08d1d488
 ESI:08d1d489 EDI:00000000
Stack dump:
0x7c70976c:  00000239 590197a0 08d1d488 00006801
0x7c70977c:  00000001 7c7097a0 7c320ec9 00000000
0x7c70978c:  00000239 08d1d480 7c33d258 7c33f6e0
0x7c70979c:  7c33d258 7c709850 7c32e684 00006801
0x7c7097ac:  08d1d480 00000000 00000239 00002aa8
0x7c7097bc:  7c70980c 7efb5930 0002b4a0 7c709848
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
=>1 0x7c328b21 rc4_read+0x61(buf=0x0, len=0x239, prng=0x8d1d480)
[/home/senob/downloads/wine/dlls/rsaenh/rc4.c:103] in rsaenh (0x7c328b21)
  2 0x7c320ec9 encrypt_stream_impl+0x49(aiAlgid=0x6801,
pKeyContext=0x8d1d480, stream=0x0, dwLen=0x239)
[/home/senob/downloads/wine/dlls/rsaenh/implglue.c:338] in rsaenh
  3 0x7c32e684 RSAENH_CPEncrypt+0x314(hProv=0x1, hKey=0x4, hHash=0x0,
Final=0x1, dwFlags=0x0, pbData=0x0, pdwDataLen=0x7c7098e8, dwBufLen=0x239)
[/home/senob/downloads/wine/dlls/rsaenh/rsaenh.c:1958] in rsaenh
  4 0x7ea396ac CryptEncrypt+0x10c(hKey=0x1f8610, hHash=0x0, Final=0x1,
dwFlags=0x0, pbData=0x0, pdwDataLen=0x7c7098e8, dwBufLen=0x239)
[/home/senob/downloads/wine/dlls/advapi32/crypt.c:971] in advapi32
  5 0x008acb53 in dndclient (+0x4acb53) (0x008acb53)
  6 0x00000002 (0x00000002)
  7 0x008ac790 in dndclient (+0x4ac790) (0x008ac790)
  8 0xc9761406 (0xc9761406)
  9 0x00000000 (0x00000000)
0x7c328b21 rc4_read+0x61 [/home/senob/downloads/wine/dlls/rsaenh/rc4.c:103]
in rsaenh: xorb    %al,0x0(%edi)
103          *buf++ ^= s[tmp];

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsaenh.diff
Type: text/x-patch
Size: 778 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-users/attachments/20060802/4cf44558/rsaenh.bin

More information about the wine-users mailing list