diff -r dd83586b62d6 -r b4bf7a662141 cryptoservices/certificateandkeymgmt/x509/x509cert.cpp --- 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(); }