Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12712
Modified Files:
SslClientStream.cs
Log Message:
Updated
Index: SslClientStream.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** SslClientStream.cs 21 Jul 2004 07:53:33 -0000 1.22
--- SslClientStream.cs 31 Jan 2005 14:11:29 -0000 1.23
***************
*** 389,392 ****
--- 389,404 ----
#region Methods
+ public override int ReadByte()
+ {
+ byte[] buffer = new byte[1];
+
+ if (this.Read(buffer, 0, 1) == 1)
+ {
+ return buffer[0];
+ }
+
+ return -1;
+ }
+
public override IAsyncResult BeginRead(
byte[] buffer,
|