cryptoservices/filebasedcertificateandkeystores/test/tcryptotokenhai/tcryptotokenhai.cpp
changeset 20 1afc808f187d
parent 19 cd501b96611d
--- a/cryptoservices/filebasedcertificateandkeystores/test/tcryptotokenhai/tcryptotokenhai.cpp	Wed Nov 11 15:30:58 2009 +0530
+++ b/cryptoservices/filebasedcertificateandkeystores/test/tcryptotokenhai/tcryptotokenhai.cpp	Fri Nov 13 10:07:38 2009 +0530
@@ -595,13 +595,10 @@
 				return EFalse;
 				}
 			break;
-			
 		case TCTKeyAttributeFilter::EManageableKeys:
-			if (!aInfo.ManagementPolicy().CheckPolicy(RThread()))
-				{
-				return EFalse;
-				}
-			break;
+			// As this key store implementation is a hardware simulation,
+			// the support for managing through software interface has been diabled.
+			return EFalse;
 
 		case TCTKeyAttributeFilter::EUsableOrManageableKeys:
 			if (!aInfo.UsePolicy().CheckPolicy(RThread()) &&