Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls
In directory sc8-pr-cvs1:/tmp/cvs-serv5870
Modified Files:
SslClientStream.cs
Log Message:
2003-11-17 Carlos Guzmán Álvarez <car...@te...>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
Removed ReadByte method, use innerStream.ReadByte() method instead.
Index: SslClientStream.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/SslClientStream.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SslClientStream.cs 14 Nov 2003 13:40:40 -0000 1.3
--- SslClientStream.cs 17 Nov 2003 11:00:20 -0000 1.4
***************
*** 514,518 ****
}
! TlsContentType contentType = (TlsContentType)this.ReadByte();
SecurityProtocolType protocol = (SecurityProtocolType)this.ReadShort();
short length = this.ReadShort();
--- 514,518 ----
}
! TlsContentType contentType = (TlsContentType)innerStream.ReadByte();
SecurityProtocolType protocol = (SecurityProtocolType)this.ReadShort();
short length = this.ReadShort();
***************
*** 822,833 ****
this.inputBuffer.SetLength(0);
this.inputBuffer.Position = 0;
- }
-
- private new byte ReadByte()
- {
- byte[] b = new byte[1];
- this.innerStream.Read(b, 0, b.Length);
-
- return b[0];
}
--- 822,825 ----
|