--- a/supl/locationsuplfw/gateway/src/epos_csuplserver.cpp Thu Aug 19 10:20:18 2010 +0300
+++ b/supl/locationsuplfw/gateway/src/epos_csuplserver.cpp Tue Aug 31 15:37:04 2010 +0300
@@ -47,6 +47,7 @@
#include "epos_mconnectobserver.h"
const TSecureId KNetworkGatewaySID = 0x10281D46;
+const TSecureId KLocationMonitorSID = 0x102869DF;
// CONSTANTS
//#ifdef _DEBUG
@@ -264,7 +265,7 @@
}
//if secure id is not equal to KSuplWapSecureId or KSuplWapSecureId, then perform capability check
- if ((aMessage.SecureId() != KSuplWapSecureId && aMessage.SecureId() != KNetworkGatewaySID && aMessage.SecureId() != 0x102869DF))
+ if ((aMessage.SecureId() != KSuplWapSecureId && aMessage.SecureId() != KNetworkGatewaySID && aMessage.SecureId() != KLocationMonitorSID))
{
if (!aMessage.HasCapability(ECapabilityCommDD))
{
@@ -322,7 +323,7 @@
static _LIT_SECURITY_POLICY_S0(allowSuplWapPolicy, KSuplWapSecureId);
TBool isSuplWap = allowSuplWapPolicy().CheckPolicy(aMessage);
- static _LIT_SECURITY_POLICY_S0(allowlocationserverPolicy, 0x102869DF);
+ static _LIT_SECURITY_POLICY_S0(allowlocationserverPolicy, KLocationMonitorSID);
TBool islocationserver = allowlocationserverPolicy().CheckPolicy(aMessage);
//Check if the request was made by one of the allowed processes else check for required capability