http://bugs.winehq.org/show_bug.cgi?id=3254
--- Comment #69 from Sisir myspecialids-wine@yahoo.co.in 2009-06-04 13:59:52 --- Results:
*** Hans's 2nd patch only:
0009:Call secur32.DecryptMessage(00ae4c60,0032e498,00000000,00000000) ret=004cdbd5 trace:secur32:DecryptMessage 0xae4c60 0x32e498 0 (nil) trace:secur32:schan_DecryptMessage context_handle 0x2d40048, message 0x32e498, message_seq_no 0, quality (nil) trace:secur32:dump_buffer_desc Buffer desc 0x32e498: trace:secur32:dump_buffer_desc buffer 0: cbBuffer 1026, BufferType 0x1 pvBuffer 0xae6490 trace:secur32:dump_buffer_desc buffer 1: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 2: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 3: cbBuffer 0, BufferType 0 pvBuffer (nil) 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000402) ret=6057d0b9 0009:Ret ntdll.RtlAllocateHeap() retval=02d715a8 ret=6057d0b9 trace:secur32:schan_pull Pull 5 bytes trace:secur32:schan_get_buffer Using buffer 0: cbBuffer 1026, BufferType 0x1, pvBuffer 0xae6490 trace:secur32:schan_pull Read 5 bytes trace:secur32:schan_gnutls_log <4> REC[7c4b4480]: Expected Packet[15] Application Data(23) with length: 880 trace:secur32:schan_gnutls_log <4> REC[7c4b4480]: Received Packet[15] Application Data(23) with length: 960 trace:secur32:schan_pull Pull 960 bytes trace:secur32:schan_get_buffer Using buffer 0: cbBuffer 1026, BufferType 0x1, pvBuffer 0xae6490 trace:secur32:schan_pull Read 960 bytes trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_cipher.c:578 trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:1001 GNUTLS ERROR: Decryption has failed.
*** Hans's 2nd patch + 1st patch
0037:Call secur32.DecryptMessage(00ae4260,0032e498,00000000,00000000) ret=004cdbd5 trace:secur32:DecryptMessage 0xae4260 0x32e498 0 (nil) trace:secur32:schan_DecryptMessage context_handle 0x2cf5a88, message 0x32e498, message_seq_no 0, quality (nil) trace:secur32:dump_buffer_desc Buffer desc 0x32e498: trace:secur32:dump_buffer_desc buffer 0: cbBuffer 1430, BufferType 0x1 pvBuffer 0xba48fe8 trace:secur32:dump_buffer_desc buffer 1: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 2: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 3: cbBuffer 0, BufferType 0 pvBuffer (nil) 0037:Call ntdll.RtlAllocateHeap(00110000,00000000,00000596) ret=604d20e9 0037:Ret ntdll.RtlAllocateHeap() retval=02d71720 ret=604d20e9 trace:secur32:schan_pull Pull 5 bytes trace:secur32:schan_get_buffer Using buffer 0: cbBuffer 1430, BufferType 0x1, pvBuffer 0xba48fe8 trace:secur32:schan_pull Read 5 bytes trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:506 trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:637 trace:secur32:schan_gnutls_log <4> REC[7c3fc008]: INVALID VERSION PACKET: (-1) 222.95 trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:935 GNUTLS ERROR: A record packet with illegal version was received. 0037:Call ntdll.RtlFreeHeap(00110000,00000000,02d71720) ret=604d21c6 0037:Ret ntdll.RtlFreeHeap() retval=00000001 ret=604d21c6 err:secur32:schan_DecryptMessage Returning SEC_E_INTERNAL_ERROR
*** Han's 1st patch + 2nd patch + Henri's patch
0009:Call secur32.DecryptMessage(00ae7890,0032e018,00000000,00000000) ret=004cdbd5 trace:secur32:DecryptMessage 0xae7890 0x32e018 0 (nil) trace:secur32:schan_DecryptMessage context_handle 0x2ce5700, message 0x32e018, message_seq_no 0, quality (nil) trace:secur32:dump_buffer_desc Buffer desc 0x32e018: trace:secur32:dump_buffer_desc buffer 0: cbBuffer 1430, BufferType 0x1 pvBuffer 0xba454f0 trace:secur32:dump_buffer_desc buffer 1: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 2: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 3: cbBuffer 0, BufferType 0 pvBuffer (nil) 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000596) ret=60531129 0009:Ret ntdll.RtlAllocateHeap() retval=02d732d0 ret=60531129 trace:secur32:schan_pull Pull 5 bytes trace:secur32:schan_get_buffer Using buffer 0: cbBuffer 1430, BufferType 0x1, pvBuffer 0xba454f0 trace:secur32:schan_pull Read 5 bytes trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:506 trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:637 trace:secur32:schan_gnutls_log <4> REC[7dd8ab88]: INVALID VERSION PACKET: (-1) 90.174 trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:935 GNUTLS ERROR: A record packet with illegal version was received. 0009:Call ntdll.RtlFreeHeap(00110000,00000000,02d732d0) ret=60531206 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=60531206 err:secur32:schan_DecryptMessage Returning SEC_E_INTERNAL_ERROR
*** Henri's patch alone
0009:Call secur32.DecryptMessage(00ae49e0,0032e498,00000000,00000000) ret=004cdbd5 trace:secur32:DecryptMessage 0xae49e0 0x32e498 0 (nil) trace:secur32:schan_DecryptMessage context_handle 0x2d029b8, message 0x32e498, message_seq_no 0, quality (nil) trace:secur32:dump_buffer_desc Buffer desc 0x32e498: trace:secur32:dump_buffer_desc buffer 0: cbBuffer 1430, BufferType 0x1 pvBuffer 0xba452e0 trace:secur32:dump_buffer_desc buffer 1: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 2: cbBuffer 0, BufferType 0 pvBuffer (nil) trace:secur32:dump_buffer_desc buffer 3: cbBuffer 0, BufferType 0 pvBuffer (nil) 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000596) ret=603620d9 0009:Ret ntdll.RtlAllocateHeap() retval=02d4fdc8 ret=603620d9 trace:secur32:schan_pull Pull 5 bytes trace:secur32:schan_get_buffer Using buffer 0: cbBuffer 1430, BufferType 0x1, pvBuffer 0xba452e0 trace:secur32:schan_pull Read 5 bytes trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:506 trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:637 trace:secur32:schan_gnutls_log <4> REC[7d5cb588]: INVALID VERSION PACKET: (-1) 253.252 trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:935 GNUTLS ERROR: A record packet with illegal version was received. 0009:Call ntdll.RtlFreeHeap(00110000,00000000,02d4fdc8) ret=603622b6 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=603622b6 err:secur32:schan_DecryptMessage Returning SEC_E_INTERNAL_ERROR
Anything more gentlemen?
(p.s. In case it turns out to be important, I'm using wine-1.1.22)