cryptoservices/certificateandkeymgmt/x509/x509cert.cpp
changeset 80 b4bf7a662141
parent 60 11c66574c2a2
--- a/cryptoservices/certificateandkeymgmt/x509/x509cert.cpp	Fri Jun 11 15:32:35 2010 +0300
+++ b/cryptoservices/certificateandkeymgmt/x509/x509cert.cpp	Tue Jul 06 16:21:56 2010 +0300
@@ -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();
 		}