cryptoservices/certificateandkeymgmt/x509/x509cert.cpp
changeset 65 970c0057d9bc
parent 60 11c66574c2a2
--- a/cryptoservices/certificateandkeymgmt/x509/x509cert.cpp	Mon May 03 14:11:52 2010 +0300
+++ b/cryptoservices/certificateandkeymgmt/x509/x509cert.cpp	Tue May 25 00:47:47 2010 +0530
@@ -1339,10 +1339,10 @@
 	}
 
 
-EXPORT_C TKeyIdentifier CX509Certificate::SubjectKeyIdL()
+EXPORT_C TKeyIdentifier CX509Certificate::SubjectKeyIdL() const
 	{
 	// if it is a v1 or v2 type then there is no way of knowing which is a CA, treat all certs as CA as done in the certificate recognizer.
-	if (Version() != 3 )
+	if (Version() < 3 )
 		{
 		return SubjectKeyIdentifierL();
 		}