[pgsqlclient-checkins] pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls TlsSessi
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-11-03 08:56:49
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls In directory sc8-pr-cvs1:/tmp/cvs-serv18233 Modified Files: TlsSessionContext.cs TlsSocket.cs Log Message: 2003-11-03 Carlos Guzmán Álvarez <car...@te...> * TlsHandshakeMessages.cs: - Removed file. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs: - New class for md5-sha hash calculation. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs: * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs: * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs: * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs: - Make use of new MD5SHA1CryptoServiceProvider class. * TlsSessionContext.cs: - Changed handshakeHashes member to be an TlsStream. Index: TlsSessionContext.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/TlsSessionContext.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TlsSessionContext.cs 21 Oct 2003 20:04:10 -0000 1.9 --- TlsSessionContext.cs 3 Nov 2003 08:56:46 -0000 1.10 *************** *** 75,79 **** // Handshake hashes ! private TlsHandshakeHashes handshakeHashes; #endregion --- 75,79 ---- // Handshake hashes ! private TlsStream handshakeHashes; #endregion *************** *** 141,145 **** } ! public TlsHandshakeHashes HandshakeHashes { get { return this.handshakeHashes; } --- 141,145 ---- } ! public TlsStream HandshakeHashes { get { return this.handshakeHashes; } *************** *** 233,237 **** this.compressionMethod = TlsCompressionMethod.None; this.serverSettings = new TlsServerSettings(); ! this.handshakeHashes = new TlsHandshakeHashes(); } --- 233,237 ---- this.compressionMethod = TlsCompressionMethod.None; this.serverSettings = new TlsServerSettings(); ! this.handshakeHashes = new TlsStream(); } Index: TlsSocket.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/TlsSocket.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TlsSocket.cs 24 Oct 2003 09:39:21 -0000 1.10 --- TlsSocket.cs 3 Nov 2003 08:56:46 -0000 1.11 *************** *** 252,256 **** } // Update handshakes of current messages ! this.session.Context.HandshakeHashes.Update(message.ToArray()); break; --- 252,256 ---- } // Update handshakes of current messages ! this.session.Context.HandshakeHashes.Write(message.ToArray()); break; |