From: Dmitriy Zhuravlev Date: Wed, 9 Mar 2016 12:40:59 +0000 (+0200) Subject: Fix initialization in PKIX X-Git-Tag: 1.2.0+RC1~566 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2506e7409d77db6617450aac41339462a9d93774;p=platform%2Fupstream%2Fiotivity.git Fix initialization in PKIX Change-Id: I752659624cba73d138936d1038913dd7ba19825d Signed-off-by: Dmitriy Zhuravlev Reviewed-on: https://gerrit.iotivity.org/gerrit/5633 Reviewed-by: Ivan Pazderskyy Reviewed-by: Randeep Singh Tested-by: Randeep Singh --- diff --git a/resource/csdk/connectivity/src/adapter_util/pkix/sn_store.c b/resource/csdk/connectivity/src/adapter_util/pkix/sn_store.c index 3eff6c9..f3db429 100644 --- a/resource/csdk/connectivity/src/adapter_util/pkix/sn_store.c +++ b/resource/csdk/connectivity/src/adapter_util/pkix/sn_store.c @@ -58,8 +58,8 @@ void FreeSNStore(void) PKIError StoreSerialNumber(const ByteArray sn) { FUNCTION_INIT( - CHECK_NULL(sn.data, PKI_NULL_PASSED); uint8_t *temp = NULL; + CHECK_NULL(sn.data, PKI_NULL_PASSED); ); if (Store.array.len == 0 || Store.array.len + sn.len + 1 > CRL_BLOCK_LEN * Store.blockNumber) {