[pgsqlclient-checkins] pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Sec
Status: Inactive
                
                Brought to you by:
                
                    carlosga_fb
                    
                
            | Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls.Handshake/Mono.Security.Protocol.Tls.Handshake.Client
In directory sc8-pr-cvs1:/tmp/cvs-serv32160
Modified Files:
	TlsClientCertificateVerify.cs 
Log Message:
2003-12-09 Carlos Guzmán Álvarez  <car...@te...>
	* Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:
		
		- Fixed message (but not working yet - we need RSA signing 
		capabilitites with MD5SHA1 hash).	
	* Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:
	
		- Retrict certificate validation to the first validation.
		( real validation needs to be made using a chain )
		
		- Improved domain validation by making a IP checking between
		the target host IP and the certificate domain IP.
		- Fixed error list handling on certificate validation.
Index: TlsClientCertificateVerify.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls.Handshake/Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** TlsClientCertificateVerify.cs	7 Dec 2003 15:00:57 -0000	1.14
--- TlsClientCertificateVerify.cs	9 Dec 2003 19:24:44 -0000	1.15
***************
*** 62,66 ****
  		{
  			// Compute handshake messages hash
! 			HashAlgorithm hash = new MD5SHA1();
  			hash.ComputeHash(
  				this.Context.HandshakeMessages.ToArray(),
--- 62,66 ----
  		{
  			// Compute handshake messages hash
! 			MD5SHA1 hash = new MD5SHA1();
  			hash.ComputeHash(
  				this.Context.HandshakeMessages.ToArray(),
***************
*** 69,73 ****
  
  			// Write message
! 			Write(hash.Hash);
  		}
  
--- 69,73 ----
  
  			// Write message
! 			Write(hash.CreateSignature(this.Context.Cipher.CreateRSA()));
  		}
  
 |