cryptoservices/filebasedcertificateandkeystores/test/tcryptotokenhai/tcryptotokenhai.cpp
changeset 19 cd501b96611d
parent 15 da2ae96f639b
--- a/cryptoservices/filebasedcertificateandkeystores/test/tcryptotokenhai/tcryptotokenhai.cpp	Mon Oct 12 10:17:04 2009 +0300
+++ b/cryptoservices/filebasedcertificateandkeystores/test/tcryptotokenhai/tcryptotokenhai.cpp	Fri Nov 06 13:21:00 2009 +0200
@@ -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()) &&