From: ol.beketov
Date: Fri, 5 May 2017 10:42:51 +0000 (+0300)
Subject: Key buffer length fix
X-Git-Tag: 1.3.0~165
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63e74d89ae2f2f392b7c2da4e3a88059af408cbc;p=platform%2Fupstream%2Fiotivity.git
Key buffer length fix
CA_SECURE_ENDPOINT_PUBLIC_KEY_MAX_LENGTH enlarged to
fix cloud client unability to connect to cloud.
Change-Id: Ic16c186c3e493aaca8f8a1817bbcc1a2b4f799c8
Signed-off-by: ol.beketov
Reviewed-on: https://gerrit.iotivity.org/gerrit/19659
Reviewed-by: Andrii Shtompel
Reviewed-by: Kevin Kane
Tested-by: jenkins-iotivity
Reviewed-by: Randeep Singh
---
diff --git a/resource/csdk/connectivity/api/cacommon.h b/resource/csdk/connectivity/api/cacommon.h
index 19deba2..c40b7e1 100644
--- a/resource/csdk/connectivity/api/cacommon.h
+++ b/resource/csdk/connectivity/api/cacommon.h
@@ -328,7 +328,7 @@ typedef struct
#endif
} CAEndpoint_t;
-#define CA_SECURE_ENDPOINT_PUBLIC_KEY_MAX_LENGTH (128)
+#define CA_SECURE_ENDPOINT_PUBLIC_KEY_MAX_LENGTH (512)
/**
* Endpoint information for secure messages.