Merge fix for bug 2672. RCL_3
authorPat Downey <patd@symbian.org>
Tue, 18 May 2010 16:22:33 +0100
branchRCL_3
changeset 29 564c37657928
parent 28 915074efc433 (current diff)
parent 25 d73e879fec17 (diff)
child 31 4c1d1f271d77
Merge fix for bug 2672.
--- a/remotemgmt_plat/terminal_security_device_lock_api/inc/dmencryptionutil.inl	Tue May 11 16:59:53 2010 +0300
+++ b/remotemgmt_plat/terminal_security_device_lock_api/inc/dmencryptionutil.inl	Tue May 18 16:22:33 2010 +0100
@@ -68,7 +68,8 @@
        {
            User::Leave(terr);
        }
-       if(infoArray.Count() > 1)
+       // darios: should also take account of count returning 0
+       if(infoArray.Count() == 0 || infoArray.Count() > 1)
        {
            User::Leave(KErrBadName);
        }