[pgsqlclient-checkins] pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake TlsClientHandshakeMe
Status: Inactive
Brought to you by:
carlosga_fb
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake In directory sc8-pr-cvs1:/tmp/cvs-serv23338 Modified Files: TlsClientHandshakeMessage.cs TlsClientKeyExchange.cs TlsServerHandshakeMessage.cs Log Message: - Fixed client finished message. - Fixed server handshake hashes generation with new processing method. Index: TlsClientHandshakeMessage.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake/TlsClientHandshakeMessage.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TlsClientHandshakeMessage.cs 1 Sep 2003 10:21:20 -0000 1.2 --- TlsClientHandshakeMessage.cs 14 Sep 2003 10:49:36 -0000 1.3 *************** *** 80,84 **** public virtual void UpdateSession() { - // this.session.Handshakes.Write(this.EncodeMessage()); this.session.HandshakeHashes.Update(this.EncodeMessage()); this.Reset(); --- 80,83 ---- Index: TlsClientKeyExchange.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake/TlsClientKeyExchange.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TlsClientKeyExchange.cs 13 Sep 2003 11:10:45 -0000 1.5 --- TlsClientKeyExchange.cs 14 Sep 2003 10:49:36 -0000 1.6 *************** *** 59,62 **** --- 59,63 ---- // Write the preMasterSecret encrypted byte[] buffer = formatter.CreateKeyExchange(preMasterSecret); + WriteShort((short)buffer.Length); Write(buffer); Index: TlsServerHandshakeMessage.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/Handshake/TlsServerHandshakeMessage.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TlsServerHandshakeMessage.cs 13 Sep 2003 07:49:12 -0000 1.4 --- TlsServerHandshakeMessage.cs 14 Sep 2003 10:49:36 -0000 1.5 *************** *** 75,80 **** public virtual void UpdateSession() ! { ! this.session.HandshakeHashes.Update(reader.GetBytes()); } --- 75,79 ---- public virtual void UpdateSession() ! { } |