[pgsqlclient-checkins] pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake TlsClientHandshakeMe
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-09-15 10:24:20
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake In directory sc8-pr-cvs1:/tmp/cvs-serv18728 Modified Files: TlsClientHandshakeMessage.cs TlsHandshakeHashes.cs Log Message: Updated files Index: TlsClientHandshakeMessage.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake/TlsClientHandshakeMessage.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TlsClientHandshakeMessage.cs 14 Sep 2003 10:49:36 -0000 1.3 --- TlsClientHandshakeMessage.cs 15 Sep 2003 10:24:17 -0000 1.4 *************** *** 89,93 **** c.Write((byte)HandshakeType); ! c.WriteInt24(this.GetBytes().Length); c.Write(this.GetBytes()); --- 89,94 ---- c.Write((byte)HandshakeType); ! // c.WriteInt24(this.GetBytes().Length); ! c.WriteInt24((int)this.Length); c.Write(this.GetBytes()); Index: TlsHandshakeHashes.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake/TlsHandshakeHashes.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TlsHandshakeHashes.cs 1 Sep 2003 10:21:20 -0000 1.2 --- TlsHandshakeHashes.cs 15 Sep 2003 10:24:17 -0000 1.3 *************** *** 74,78 **** sha.Initialize(); ! byte[] tmp = new byte[messages.GetBytes().Length]; md5.TransformBlock(messages.GetBytes(), 0, tmp.Length, tmp, 0); --- 74,79 ---- sha.Initialize(); ! // byte[] tmp = new byte[messages.GetBytes().Length]; ! byte[] tmp = new byte[messages.Length]; md5.TransformBlock(messages.GetBytes(), 0, tmp.Length, tmp, 0); |