http://bugs.winehq.org/show_bug.cgi?id=3254
--- Comment #62 from Austin Lund austin.lund@gmail.com 2009-06-03 19:39:08 --- Here is the trace of the error (using WINEDEUBG="+relay,+secur32"):
0009:Call secur32.DecryptMessage(009d3908,0032e498,00000000,00000000) ret=004cdbd5 trace:secur32:DecryptMessage 0x9d3908 0x32e498 0 (nil) trace:secur32:schan_DecryptMessage context_handle 0x2be1040, message 0x32e498, message_seq_no 0, quality (nil) trace:secur32:dump_buffer_desc Buffer desc 0x32e498: trace:secur32:dump_buffer_desc buffer 0: cbBuffer 14342, BufferType 0x1 pvBuffer 0xb949a28 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,00003806) ret=7ec1c639 0009:Ret ntdll.RtlAllocateHeap() retval=02c9a200 ret=7ec1c639 trace:secur32:schan_pull Pull 5 bytes trace:secur32:schan_get_buffer Using buffer 0: cbBuffer 14342, BufferType 0x1, pvBuffer 0xb949a28 trace:secur32:schan_pull Read 5 bytes trace:secur32:schan_gnutls_log <4> REC[7d96cf70]: Expected Packet[62] Application Data(23) with length: 13754 trace:secur32:schan_gnutls_log <4> REC[7d96cf70]: Received Packet[62] Application Data(23) with length: 976 trace:secur32:schan_pull Pull 976 bytes trace:secur32:schan_get_buffer Using buffer 0: cbBuffer 14342, BufferType 0x1, pvBuffer 0xb949a28 trace:secur32:schan_pull Read 976 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. 0009:Call ntdll.RtlFreeHeap(00110000,00000000,02c9a200) ret=7ec1c816 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7ec1c816 err:secur32:schan_DecryptMessage Returning SEC_E_INTERNAL_ERROR
Does anyone know why/how the length of the data is wrong? Any other debug channels which might be useful?