dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Cryptography


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Cryptography/X509Certificates X509Certificate.cs,1.3,1.4
Date: Wed, 28 May 2003 22:12:03 -0400

Update of 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography/X509Certificates
In directory 
subversions:/tmp/cvs-serv24928/runtime/System/Security/Cryptography/X509Certificates

Modified Files:
        X509Certificate.cs 
Log Message:


Fixes to CONFIG_X509_CERTIFICATES mode when CONFIG_CRYPTO is
not present.


Index: X509Certificate.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography/X509Certificates/X509Certificate.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** X509Certificate.cs  29 May 2003 01:22:41 -0000      1.3
--- X509Certificate.cs  29 May 2003 02:12:01 -0000      1.4
***************
*** 103,106 ****
--- 103,107 ----
                                publicKey = keyInfo.GetBitString();
  
+ #if CONFIG_CRYPTO
                                // Construct an MD5 hash of the certificate.  
Is this correct?
                                MD5 md5 = new MD5CryptoServiceProvider();
***************
*** 108,111 ****
--- 109,113 ----
                                hash = md5.InternalHashFinal();
                                md5.Initialize();
+ #endif
                        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]