[Mono-bugs] [Bug 78140][Nor] Changed - Mono.Security complicated errors

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 19 10:51:41 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by meddochat at zonnet.nl.

http://bugzilla.ximian.com/show_bug.cgi?id=78140

--- shadow/78140	2006-04-19 09:18:01.000000000 -0400
+++ shadow/78140.tmp.31311	2006-04-19 10:51:41.000000000 -0400
@@ -103,6 +103,57 @@
 (a) harder to debug; and 
 (b) not safe as you can be working with code "between" two related
 commits.
 
 Can you try the same test using SVN HEAD ?
 
+
+------- Additional Comments From meddochat at zonnet.nl  2006-04-19 10:51 -------
+the tlstest.exe works fine. running the my test app gives the
+following exception:
+
+System.IO.IOException: The authentication or decryption has failed.
+---> System.ArgumentException: Destination array was not long enough.
+ Check destIndex and length, and the array's lower bounds.
+   at
+Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord(IAsyncResult
+asyncResult)
+   at
+Mono.Security.Protocol.Tls.SslClientStream.SafeReceiveRecord(Stream s)
+   at
+Mono.Security.Protocol.Tls.SslClientStream.OnNegotiateHandshakeCallback(IAsyncResult
+asyncResult)
+   at
+Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback(IAsyncResult
+asyncResult)
+   --- End of inner exception stack trace ---
+   at
+Mono.Security.Protocol.Tls.SslStreamBase.EndNegotiateHandshake(InternalAsyncResult
+asyncResult)
+   at Mono.Security.Protocol.Tls.SslStreamBase.NegotiateHandshake()
+   at Mono.Security.Protocol.Tls.SslStreamBase.Write(Byte[] buffer,
+Int32 offset, Int32 count)
+   at IdIOHandlerTls.TIdIOHandlerTls.WriteDirect(Byte[]& ABuffer) in
+W:\source\Indy10\Lib\Security\IdIOHandlerTls.pas:line 243
+   at IdIOHandler.TIdIOHandler.WriteBufferFlush(Int32 AByteCount) in
+W:\source\Indy10\Lib\Core\IdIOHandler.pas:line 816
+   at IdIOHandler.TIdIOHandler.WriteBufferFlush() in
+W:\source\Indy10\Lib\Core\IdIOHandler.pas:line 1685
+   at IdIOHandler.TIdIOHandler.WriteBufferClose() in
+W:\source\Indy10\Lib\Core\IdIOHandler.pas:line 802
+   at IdHTTP.TIdHTTPProtocol.BuildAndSendRequest(TIdURI AURI) in
+W:\source\Indy10\Lib\Protocols\IdHTTP.pas:line 1706
+   at IdHTTP.TIdCustomHTTP.ConnectToHost(TIdHTTPRequest ARequest,
+TIdHTTPResponse AResponse) in
+W:\source\Indy10\Lib\Protocols\IdHTTP.pas:line 1237
+   at IdHTTP.TIdCustomHTTP.DoRequest(String AMethod, String AURL,
+TIdNetStream ASource, TIdNetStream AResponseContent, Int16[]
+AIgnoreReplies) in W:\source\Indy10\Lib\Protocols\IdHTTP.pas:line 2023
+   at IdHTTP.TIdCustomHTTP.Get(String AURL, TIdNetStream
+AResponseContent, Int16[] AIgnoreReplies) in
+W:\source\Indy10\Lib\Protocols\IdHTTP.pas:line 1991
+   at IdHTTP.TIdCustomHTTP.Get(String AURL, Int16[] AIgnoreReplies) in
+W:\source\Indy10\Lib\Protocols\IdHTTP.pas:line 1977
+   at IdHTTP.TIdCustomHTTP.Get(String AURL) in
+W:\source\Indy10\Lib\Protocols\IdHTTP.pas:line 812
+   at Project1.Units.Project1.Project1() in
+D:\projects\Atozed\IX\20241\Project1.dpr:line 26


More information about the mono-bugs mailing list