diff options
author | sangsu <sangsu.choi@samsung.com> | 2016-06-08 10:20:15 +0900 |
---|---|---|
committer | sangsu <sangsu.choi@samsung.com> | 2016-06-08 10:20:49 +0900 |
commit | e5c912938e2958fbeb7ee01183f0bc4e33143ead (patch) | |
tree | 18100dcff05d11b0909fb22b86d5837f2bfc4e9d /src/asn1Coding.c | |
parent | 74767631f4593cf64808cb4f510f765e7319ae47 (diff) | |
parent | a39386a3afe2d7e0cc717a49f970f53d974fda53 (diff) | |
download | libtasn1-accepted/tizen_ivi.tar.gz libtasn1-accepted/tizen_ivi.tar.bz2 libtasn1-accepted/tizen_ivi.zip |
Merge branch 'upstream' into tizentizen_4.0.m1_releasesubmit/tizen_unified/20170308.100414submit/tizen_3.0_wearable/20161015.000003submit/tizen_3.0_tv/20161015.000003submit/tizen_3.0_mobile/20161015.000004submit/tizen_3.0_ivi/20161010.000004submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093753submit/tizen/20160613.080449accepted/tizen/wearable/20160614.041230accepted/tizen/unified/20170309.035942accepted/tizen/tv/20160614.041238accepted/tizen/mobile/20160614.041226accepted/tizen/ivi/20160614.041245accepted/tizen/common/20160614.143706accepted/tizen/3.0/wearable/20161015.083140accepted/tizen/3.0/tv/20161016.004829accepted/tizen/3.0/mobile/20161015.033615accepted/tizen/3.0/ivi/20161011.050502accepted/tizen/3.0/common/20161114.111043accepted/tizen/3.0.m2/wearable/20170105.025000accepted/tizen/3.0.m2/tv/20170105.024831accepted/tizen/3.0.m2/mobile/20170105.024646tizen_3.0_tvtizen_3.0.m2accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
Change-Id: I6a83621b105d4c428d1df8e52499b53185577419
Signed-off-by: sangsu <sangsu.choi@samsung.com>
Diffstat (limited to 'src/asn1Coding.c')
-rw-r--r-- | src/asn1Coding.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/asn1Coding.c b/src/asn1Coding.c index 650e817..d4df593 100644 --- a/src/asn1Coding.c +++ b/src/asn1Coding.c @@ -256,7 +256,12 @@ main (int argc, char *argv[]) asn1_result = asn1_create_element (definitions, value, &structure); } else - asn1_result = asn1_write_value (structure, varName, value, 0); + { + if (strcmp(value, "(NULL)") == 0) + asn1_result = asn1_write_value (structure, varName, NULL, 0); + else + asn1_result = asn1_write_value (structure, varName, value, 0); + } if (asn1_result != ASN1_SUCCESS) { |