summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/include/policy
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2018-12-04 14:50:31 -0500
committerjacobkeeler <jacob.keeler@livioradio.com>2018-12-04 14:50:31 -0500
commit2c3ef60575f48b1b239076be6b2831b19e5fa491 (patch)
treec2b6b017ecf2a3dd4c6814808ddce4d41d6c5e01 /src/components/policy/policy_regular/include/policy
parenta751881e1f4e04a6af24552be70d691d8076c933 (diff)
downloadsdl_core-2c3ef60575f48b1b239076be6b2831b19e5fa491.tar.gz
Fix incorrect value of string in policy table parsingfix/cloud_app_certificate_policies
The default value for a string field in the policy table was applied regardless of whether the field was present or not.
Diffstat (limited to 'src/components/policy/policy_regular/include/policy')
-rw-r--r--src/components/policy/policy_regular/include/policy/policy_table/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/policy/policy_regular/include/policy/policy_table/types.h b/src/components/policy/policy_regular/include/policy/policy_table/types.h
index 58f07492c4..18f909bb99 100644
--- a/src/components/policy/policy_regular/include/policy/policy_table/types.h
+++ b/src/components/policy/policy_regular/include/policy/policy_table/types.h
@@ -142,7 +142,7 @@ struct ApplicationParams : PolicyBase {
Optional<RequestSubTypes> RequestSubType;
Optional<Integer<uint16_t, 0, 65225> > memory_kb;
Optional<Integer<uint32_t, 0, UINT_MAX> > heart_beat_timeout_ms;
- Optional<String<0, 255> > certificate;
+ Optional<String<0, 65535> > certificate;
mutable Optional<ModuleTypes> moduleType;
// Cloud application params
Optional<Enum<HybridAppPreference> > hybrid_app_preference;