platform/upstream/libtasn1.git
2 months agoUpgrade to libtasn1 4.19.0 81/305981/1 accepted/tizen_unified tizen accepted/tizen/unified/20240214.164006
Dariusz Michaluk [Tue, 13 Feb 2024 14:44:51 +0000 (15:44 +0100)]
Upgrade to libtasn1 4.19.0

Change-Id: I893fd2c90c487d6e13b0b10e25b2cafc408da180

2 months agoImported Upstream version 4.19.0 upstream upstream/4.19.0
Dariusz Michaluk [Tue, 13 Feb 2024 14:38:29 +0000 (15:38 +0100)]
Imported Upstream version 4.19.0

2 years agoAdd gtk-doc to build-time dependencies 72/271672/2 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.060847 accepted/tizen/7.0/unified/hotfix/20221116.111031 accepted/tizen/8.0/unified/20231005.095119 accepted/tizen/unified/20220228.132717 submit/tizen/20220225.115800 tizen_7.0_m2_release tizen_8.0_m2_release
Tomasz Swierczek [Thu, 24 Feb 2022 08:21:58 +0000 (09:21 +0100)]
Add gtk-doc to build-time dependencies

Without it, build fails on gtk-doc dependencies with updated autoconf
to version 2.71

Change-Id: I49624ee9e3e25b5401b9ee4e249ec6edca800e63

4 years agoMerge tag 'upstream/4.14' into tizen accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix tizen_6.5 accepted/tizen/5.5/unified/20191031.011500 accepted/tizen/5.5/unified/mobile/hotfix/20201027.074057 accepted/tizen/5.5/unified/wearable/hotfix/20201027.100357 accepted/tizen/6.0/unified/20201030.110146 accepted/tizen/6.0/unified/hotfix/20201102.234932 accepted/tizen/6.0/unified/hotfix/20201103.050702 accepted/tizen/6.5/unified/20211029.014057 accepted/tizen/unified/20190904.110630 submit/tizen/20190829.061506 submit/tizen/20190904.070216 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_5.5_wearable_hotfix/20201026.184307 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 submit/tizen_6.5/20211028.163501 tizen_5.5.m2_release tizen_6.0.m2_release tizen_6.5.m2_release
Pawel Kowalski [Wed, 28 Aug 2019 12:31:23 +0000 (14:31 +0200)]
Merge tag 'upstream/4.14' into tizen

Change-Id: I6d4b47b2072db8e7c45daa6e269e2f0cc6f54a7f

4 years agoImported Upstream version 4.14 upstream/4.14
Pawel Kowalski [Wed, 28 Aug 2019 12:28:40 +0000 (14:28 +0200)]
Imported Upstream version 4.14

5 years agoMerge branch 'upstream' into tizen 51/181651/1 accepted/tizen/5.0/unified/20181102.030257 accepted/tizen/unified/20180620.131427 submit/tizen/20180615.093304 submit/tizen_5.0/20181101.000007
Pawel Kowalski [Fri, 15 Jun 2018 09:24:08 +0000 (11:24 +0200)]
Merge branch 'upstream' into tizen

Change-Id: I254f6095d312777427a57af3ed346986a28f3aaa

5 years agoImported Upstream version 4.13 upstream/4.13
Dariusz Michaluk [Fri, 15 Jun 2018 09:14:03 +0000 (11:14 +0200)]
Imported Upstream version 4.13

5 years agoImported Upstream version 4.12 upstream/4.12
Dariusz Michaluk [Fri, 15 Jun 2018 09:13:52 +0000 (11:13 +0200)]
Imported Upstream version 4.12

5 years agoImported Upstream version 4.10 upstream/4.10
Dariusz Michaluk [Fri, 15 Jun 2018 09:13:40 +0000 (11:13 +0200)]
Imported Upstream version 4.10

5 years agoImported Upstream version 4.9 upstream/4.9
Dariusz Michaluk [Fri, 15 Jun 2018 09:11:52 +0000 (11:11 +0200)]
Imported Upstream version 4.9

5 years agoBACKPORT: _asn1_decode_simple_ber: restrict the levels of recursion to 3 05/179705/1
Nikos Mavrogiannopoulos [Thu, 4 Jan 2018 09:52:05 +0000 (10:52 +0100)]
BACKPORT: _asn1_decode_simple_ber: restrict the levels of recursion to 3

On indefinite string decoding, setting a maximum level of recursions
protects the BER decoder from a stack exhaustion due to large amounts
of recursion.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
(cherry-picked from upstream c593ae84cfcde8fea45787e53950e0ac71e9ca97)

Change-Id: If3eb039487979b9639b42b314c3b0c89f18737fa
Signed-off-by: Tomasz Swierczek <t.swierczek@samsung.com>
6 years agoFix CVE-2017-10790 vulnerability 11/153911/2 accepted/tizen/unified/20171011.150545 submit/tizen/20171005.115455
Pawel Kowalski [Tue, 3 Oct 2017 09:23:45 +0000 (11:23 +0200)]
Fix CVE-2017-10790 vulnerability

The patch fixes CVE-2017-10790 vulnerability:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10790
https://bugzilla.redhat.com/show_bug.cgi?id=1464141#c5
The _asn1_check_identifier function caused a NULL pointer dereference
and crashed when a NULL value was assigned to value member in
asn1_node. It could lead to a remote DOS attack.

(cherry-picked from upstream d8d805e1f2e6799bb2dff4871a8598dc83088a39)

Change-Id: I4136fe2df14980581cfdc6ec619742967449349c

6 years agoRemoved GPLv3 licence from main RPM & added to 'tools' 84/148384/1 accepted/tizen/unified/20170914.154314 submit/tizen/20170908.054611 submit/tizen/20170914.015357
Tomasz Swierczek [Thu, 7 Sep 2017 08:59:29 +0000 (10:59 +0200)]
Removed GPLv3 licence from main RPM & added to 'tools'

Files on GPLv3 are not taken for build, the C library is on LGPLv2 licence.
Tools are licenced under GPLv3 - licence added.

Change-Id: I627a59412420a7946e0e14fd902ee04098702642
(cherry picked from commit 28b2e0b5e3fb8b89bc4c49d2d67b728eb6ee90d8)

6 years agoBACKPORT: asn1_find_node: added safety check on asn1_find_node() 18/134418/1 accepted/tizen/4.0/unified/20170816.011243 accepted/tizen/4.0/unified/20170828.222817 accepted/tizen/unified/20170620.174035 submit/tizen/20170616.143116 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100006
Nikos Mavrogiannopoulos [Thu, 18 May 2017 16:03:34 +0000 (18:03 +0200)]
BACKPORT: asn1_find_node: added safety check on asn1_find_node()

This prevents a stack overflow in asn1_find_node() which
is triggered by too long variable names in the definitions
files. That means that applications have to deliberately
pass a too long 'name' constant to asn1_write_value()
and friends.  Reported by Jakub Jirasek.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
(cherry-picked from upstream 5520704d075802df25ce4ffccc010ba1641bd484)

Change-Id: I893834c68ede90cd5953289a2c207c79e2971b51

7 years agoMerge branch 'upstream' into tizen 60/73360/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170105.024646 accepted/tizen/3.0.m2/tv/20170105.024831 accepted/tizen/3.0.m2/wearable/20170105.025000 accepted/tizen/3.0/common/20161114.111043 accepted/tizen/3.0/ivi/20161011.050502 accepted/tizen/3.0/mobile/20161015.033615 accepted/tizen/3.0/tv/20161016.004829 accepted/tizen/3.0/wearable/20161015.083140 accepted/tizen/common/20160614.143706 accepted/tizen/ivi/20160614.041245 accepted/tizen/mobile/20160614.041226 accepted/tizen/tv/20160614.041238 accepted/tizen/unified/20170309.035942 accepted/tizen/wearable/20160614.041230 submit/tizen/20160613.080449 submit/tizen_3.0.m2/20170104.093753 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003 submit/tizen_unified/20170308.100414 tizen_4.0.m1_release
sangsu [Wed, 8 Jun 2016 01:20:15 +0000 (10:20 +0900)]
Merge branch 'upstream' into tizen

Change-Id: I6a83621b105d4c428d1df8e52499b53185577419
Signed-off-by: sangsu <sangsu.choi@samsung.com>
7 years agoImported Upstream version 4.8 59/73359/1 submit/upstream/20160613.071414 upstream/4.8
sangsu [Wed, 8 Jun 2016 01:17:41 +0000 (10:17 +0900)]
Imported Upstream version 4.8

Change-Id: I25e57ece28b9ebb637a2b7356f57e11b7f2eb807
Signed-off-by: sangsu <sangsu.choi@samsung.com>
8 years agoUpdate license from GPL-3.0 to GPL-3.0+ 34/55634/1 accepted/tizen/common/20160303.110301 accepted/tizen/ivi/20160305.090124 accepted/tizen/mobile/20160305.090022 accepted/tizen/tv/20160305.090049 accepted/tizen/wearable/20160305.090107 submit/tizen/20160303.025319
sangwan.kwon [Mon, 28 Dec 2015 08:55:25 +0000 (17:55 +0900)]
Update license from GPL-3.0 to GPL-3.0+

Change-Id: Ica1810d38708822a278307e6110d9b9bb20b98d8
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
9 years agoPackaging: clean spec file sandbox/kevinthierry/bump-4.0 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20150116.082239 accepted/tizen/ivi/20150117.065458 accepted/tizen/ivi/20160218.025246 accepted/tizen/mobile/20150224.002803 accepted/tizen/tv/20150324.014555 accepted/tizen/wearable/20150129.005740 submit/tizen_common/20150114.133045 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20150116.222222 submit/tizen_ivi/20150116.444444 submit/tizen_ivi/20150116.666666 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000006 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150223.000001 submit/tizen_tv/20150130.000000 submit/tizen_tv/20150130.050505 submit/tizen_tv/20150320.000002 submit/tizen_tv/20150323.050640 submit/tizen_wearable/20150127.000001 submit/tizen_wearable/20150128.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
Kévin THIERRY [Fri, 12 Dec 2014 08:47:43 +0000 (09:47 +0100)]
Packaging: clean spec file

Also add missing dependency to help2man.

Change-Id: I1ed6cf5ea84b3f418b9742d6b89ae54ad3d37fef
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agoBump to version 4.0
Sabera Djelti (sdi2) [Mon, 10 Nov 2014 15:42:54 +0000 (16:42 +0100)]
Bump to version 4.0

Alignment Tizen and Yocto package versions

[kevin.thierry: set correct version in spec file, remove unnecessary
.gbs.conf file.]

Bug-Tizen: TC-1926
Change-Id: I1f82c87d1f7828aff43e256ac05bb18a772956e2
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 16:38:52 +0000 (19:38 +0300)]
resetting manifest requested domain to floor

9 years agotools belongs to Security/Crypto Libraries
Anas Nashif [Tue, 19 Mar 2013 12:41:49 +0000 (05:41 -0700)]
tools belongs to Security/Crypto Libraries

9 years agorequire libtasn1-tools
Anas Nashif [Mon, 18 Mar 2013 23:39:42 +0000 (16:39 -0700)]
require libtasn1-tools

9 years agoFixed package group
Anas Nashif [Mon, 18 Mar 2013 19:49:02 +0000 (12:49 -0700)]
Fixed package group

9 years agoFixed package group
Anas Nashif [Mon, 18 Mar 2013 16:28:05 +0000 (09:28 -0700)]
Fixed package group

9 years agoupdate to 2.14
Anas Nashif [Wed, 7 Nov 2012 21:49:35 +0000 (13:49 -0800)]
update to 2.14

9 years agoupdate to 2.14
Anas Nashif [Wed, 7 Nov 2012 21:49:09 +0000 (13:49 -0800)]
update to 2.14

9 years agoadd packaging
Anas Nashif [Wed, 7 Nov 2012 21:48:18 +0000 (13:48 -0800)]
add packaging

9 years agoreleased 4.0 upstream/4.0
Nikos Mavrogiannopoulos [Thu, 26 Jun 2014 17:57:37 +0000 (19:57 +0200)]
released 4.0

9 years agodoc: Added new functions
Nikos Mavrogiannopoulos [Thu, 26 Jun 2014 14:12:23 +0000 (16:12 +0200)]
doc: Added new functions

9 years agodoc update
Nikos Mavrogiannopoulos [Thu, 26 Jun 2014 08:19:01 +0000 (10:19 +0200)]
doc update

9 years agobumped version
Nikos Mavrogiannopoulos [Fri, 20 Jun 2014 13:29:17 +0000 (15:29 +0200)]
bumped version

9 years agodoc update
Nikos Mavrogiannopoulos [Fri, 20 Jun 2014 13:29:09 +0000 (15:29 +0200)]
doc update

9 years agoRenamed asn1_der_decoding_relaxed(), added ASN1_DECODE_FLAG_ALLOW_PADDING.
Karel Slany [Fri, 20 Jun 2014 13:05:09 +0000 (15:05 +0200)]
Renamed asn1_der_decoding_relaxed(), added ASN1_DECODE_FLAG_ALLOW_PADDING.

9 years agoAdded asn1_der_decoding_relaxed().
Karel Slany [Fri, 20 Jun 2014 09:49:41 +0000 (11:49 +0200)]
Added asn1_der_decoding_relaxed().

9 years agodoc update
Nikos Mavrogiannopoulos [Thu, 19 Jun 2014 12:34:42 +0000 (14:34 +0200)]
doc update

9 years agobumped version
Nikos Mavrogiannopoulos [Thu, 19 Jun 2014 12:33:04 +0000 (14:33 +0200)]
bumped version

9 years agodoc update
Nikos Mavrogiannopoulos [Thu, 19 Jun 2014 12:30:14 +0000 (14:30 +0200)]
doc update

9 years agodoc update
Nikos Mavrogiannopoulos [Tue, 17 Jun 2014 15:04:32 +0000 (17:04 +0200)]
doc update

9 years agodoc update
Nikos Mavrogiannopoulos [Tue, 17 Jun 2014 15:02:52 +0000 (17:02 +0200)]
doc update

9 years agodoc update
Nikos Mavrogiannopoulos [Tue, 17 Jun 2014 14:55:45 +0000 (16:55 +0200)]
doc update

9 years agocorrected file name
Nikos Mavrogiannopoulos [Tue, 17 Jun 2014 10:49:56 +0000 (12:49 +0200)]
corrected file name

9 years agodoc update
Nikos Mavrogiannopoulos [Mon, 9 Jun 2014 09:38:21 +0000 (11:38 +0200)]
doc update

9 years agoWhen encoding DER note the positions of the DER start and end.
Nikos Mavrogiannopoulos [Mon, 9 Jun 2014 09:30:06 +0000 (11:30 +0200)]
When encoding DER note the positions of the DER start and end.

That will allow using asn1_der_decoding_startEnd() without
performing decoding.

9 years agoAdded new test that combines asn1_der_decoding_startEnd() with asn1_der_coding().
Nikos Mavrogiannopoulos [Mon, 9 Jun 2014 09:29:22 +0000 (11:29 +0200)]
Added new test that combines asn1_der_decoding_startEnd() with asn1_der_coding().

9 years agoAdded copyright information
Nikos Mavrogiannopoulos [Mon, 9 Jun 2014 09:28:53 +0000 (11:28 +0200)]
Added copyright information

9 years agoAdded test for asn1_der_decoding_startEnd() after an asn1_dup_node().
Nikos Mavrogiannopoulos [Mon, 9 Jun 2014 08:11:59 +0000 (10:11 +0200)]
Added test for asn1_der_decoding_startEnd() after an asn1_dup_node().

9 years agoWhen duplicating a node, keep the DER start and end information.
Nikos Mavrogiannopoulos [Mon, 9 Jun 2014 08:11:19 +0000 (10:11 +0200)]
When duplicating a node, keep the DER start and end information.

9 years agodecoding: corrected the end position of the total structure.
Nikos Mavrogiannopoulos [Mon, 9 Jun 2014 07:58:34 +0000 (09:58 +0200)]
decoding: corrected the end position of the total structure.

9 years agoremove -Werror from automake
Nikos Mavrogiannopoulos [Sun, 8 Jun 2014 12:51:34 +0000 (14:51 +0200)]
remove -Werror from automake

9 years agobuild: tests: fix Test_choice within separate builddir
Alon Bar-Lev [Sat, 7 Jun 2014 18:48:50 +0000 (21:48 +0300)]
build: tests: fix Test_choice within separate builddir

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
9 years agoDocument that ider and ider_len are optional in asn1_der_decoding_startEnd()
Nikos Mavrogiannopoulos [Thu, 5 Jun 2014 13:50:19 +0000 (15:50 +0200)]
Document that ider and ider_len are optional in asn1_der_decoding_startEnd()

9 years agoupdated map file for asn1_dup_node
Nikos Mavrogiannopoulos [Thu, 5 Jun 2014 13:45:18 +0000 (15:45 +0200)]
updated map file for asn1_dup_node

9 years agorenamed asn1_copy_node2 to asn1_dup_node
Nikos Mavrogiannopoulos [Thu, 5 Jun 2014 13:39:28 +0000 (15:39 +0200)]
renamed asn1_copy_node2 to asn1_dup_node

9 years agodoc update
Nikos Mavrogiannopoulos [Wed, 4 Jun 2014 15:48:00 +0000 (17:48 +0200)]
doc update

9 years agoDER decoding: optimize tail seek by using the value providing by _asn1_append_sequenc...
Nikos Mavrogiannopoulos [Wed, 4 Jun 2014 15:42:46 +0000 (17:42 +0200)]
DER decoding: optimize tail seek by using the value providing by _asn1_append_sequence_set.

9 years agoOptimized _asn1_append_sequence_set() by caching the tail of the element to append on.
Nikos Mavrogiannopoulos [Wed, 4 Jun 2014 15:21:15 +0000 (17:21 +0200)]
Optimized _asn1_append_sequence_set() by caching the tail of the element to append on.

9 years agodoc update
Nikos Mavrogiannopoulos [Wed, 4 Jun 2014 12:28:47 +0000 (14:28 +0200)]
doc update

9 years agoasn1_read_value() and friends understand the ?CURRENT keyword.
Nikos Mavrogiannopoulos [Wed, 4 Jun 2014 12:26:35 +0000 (14:26 +0200)]
asn1_read_value() and friends understand the ?CURRENT keyword.

That keyword allows to specify the current element if the given
node is a node in a sequence or set.

9 years agooptimized _asn1_find_up().
Nikos Mavrogiannopoulos [Tue, 3 Jun 2014 13:44:49 +0000 (15:44 +0200)]
optimized _asn1_find_up().

9 years agomore efficient check for '?LAST' and error checking.
Nikos Mavrogiannopoulos [Tue, 3 Jun 2014 14:35:45 +0000 (16:35 +0200)]
more efficient check for '?LAST' and error checking.

9 years agoAdd a sanity check in asn1_der_decoding_startEnd()
Nikos Mavrogiannopoulos [Mon, 2 Jun 2014 08:49:55 +0000 (10:49 +0200)]
Add a sanity check in asn1_der_decoding_startEnd()

9 years agoremoved unused variable
Nikos Mavrogiannopoulos [Fri, 30 May 2014 13:22:41 +0000 (15:22 +0200)]
removed unused variable

9 years agodoc update
Nikos Mavrogiannopoulos [Fri, 30 May 2014 13:17:10 +0000 (15:17 +0200)]
doc update

9 years agoAdded asn1_copy_node2()
Nikos Mavrogiannopoulos [Fri, 30 May 2014 13:12:00 +0000 (15:12 +0200)]
Added asn1_copy_node2()

9 years agoAdded test for asn1_copy_node()
Nikos Mavrogiannopoulos [Fri, 30 May 2014 12:56:19 +0000 (14:56 +0200)]
Added test for asn1_copy_node()

9 years agosimplified and optimized asn1_der_decoding_startEnd().
Nikos Mavrogiannopoulos [Fri, 30 May 2014 11:50:48 +0000 (13:50 +0200)]
simplified and optimized asn1_der_decoding_startEnd().

The second pass decoding is now avoided as the start and end
values are cached during decoding.

9 years agoAdded check for decoding_startEnd().
Nikos Mavrogiannopoulos [Fri, 30 May 2014 12:07:02 +0000 (14:07 +0200)]
Added check for decoding_startEnd().

9 years agoSimplify temporary value storage during coding.
Nikos Mavrogiannopoulos [Fri, 30 May 2014 11:38:36 +0000 (13:38 +0200)]
Simplify temporary value storage during coding.

9 years agoSimplify temporary value storage during decoding.
Nikos Mavrogiannopoulos [Fri, 30 May 2014 11:35:33 +0000 (13:35 +0200)]
Simplify temporary value storage during decoding.

9 years agodoc update
Nikos Mavrogiannopoulos [Tue, 27 May 2014 20:06:33 +0000 (22:06 +0200)]
doc update

9 years agosafe_memset: allow memset of zero bytes.
Nikos Mavrogiannopoulos [Tue, 27 May 2014 13:48:35 +0000 (15:48 +0200)]
safe_memset: allow memset of zero bytes.

9 years agoremoved unnecessary and wrong test.
Nikos Mavrogiannopoulos [Mon, 26 May 2014 13:20:01 +0000 (15:20 +0200)]
removed unnecessary and wrong test.

9 years agofixes in length calculation in _asn1_extract_der_octet().
Nikos Mavrogiannopoulos [Mon, 26 May 2014 10:35:53 +0000 (12:35 +0200)]
fixes in length calculation in _asn1_extract_der_octet().

9 years agoasn1_der_decoding_element() is no more; it is simply an alias to asn1_der_decoding().
Nikos Mavrogiannopoulos [Mon, 26 May 2014 08:52:22 +0000 (10:52 +0200)]
asn1_der_decoding_element() is no more; it is simply an alias to asn1_der_decoding().

9 years agoreleased 3.6
Nikos Mavrogiannopoulos [Sun, 25 May 2014 19:34:49 +0000 (21:34 +0200)]
released 3.6

9 years agodoc update
Nikos Mavrogiannopoulos [Sun, 25 May 2014 19:34:07 +0000 (21:34 +0200)]
doc update

9 years agoAllow a NULL value in asn1_read_value() for all types.
Nikos Mavrogiannopoulos [Thu, 22 May 2014 21:33:08 +0000 (23:33 +0200)]
Allow a NULL value in asn1_read_value() for all types.

9 years agoupdated TODO
Nikos Mavrogiannopoulos [Thu, 22 May 2014 19:44:19 +0000 (21:44 +0200)]
updated TODO

9 years agobumped version
Nikos Mavrogiannopoulos [Thu, 22 May 2014 19:32:10 +0000 (21:32 +0200)]
bumped version

9 years agodoc update
Nikos Mavrogiannopoulos [Sun, 18 May 2014 16:33:50 +0000 (18:33 +0200)]
doc update

9 years agodoc update
Nikos Mavrogiannopoulos [Thu, 22 May 2014 11:50:39 +0000 (13:50 +0200)]
doc update

9 years agoReverted ltostr() changes as the cause a significant delay to the library.
Nikos Mavrogiannopoulos [Sat, 17 May 2014 07:11:10 +0000 (09:11 +0200)]
Reverted ltostr() changes as the cause a significant delay to the library.

The best approach would be to eliminate the need for ltostr() completely.
Added LTOSTR_MAX_SIZE, to avoid overflows.

9 years agoRevert "simplify ltostr()"
Nikos Mavrogiannopoulos [Sat, 17 May 2014 07:05:20 +0000 (09:05 +0200)]
Revert "simplify ltostr()"

This reverts commit f93acf7f0a3f19692c71fc9022981b6f64ffdbc1.

9 years agoRevert "made _asn1_ltostr() safer."
Nikos Mavrogiannopoulos [Sat, 17 May 2014 07:05:15 +0000 (09:05 +0200)]
Revert "made _asn1_ltostr() safer."

This reverts commit 07a5adb87880f3fce80aa12121409bbf652f1b6d.

9 years agodoc update
Nikos Mavrogiannopoulos [Sat, 17 May 2014 06:15:53 +0000 (08:15 +0200)]
doc update

9 years agoMarked asn1_der_decoding_element() as deprecated.
Nikos Mavrogiannopoulos [Sat, 17 May 2014 06:15:00 +0000 (08:15 +0200)]
Marked asn1_der_decoding_element() as deprecated.

9 years agoUse the new functions in asn1_decoding_element()
Nikos Mavrogiannopoulos [Sat, 17 May 2014 06:10:32 +0000 (08:10 +0200)]
Use the new functions in asn1_decoding_element()

9 years agoRevert "asn1_der_decoding_element is just an alias of asn1_der_decoding()."
Nikos Mavrogiannopoulos [Sat, 17 May 2014 06:08:25 +0000 (08:08 +0200)]
Revert "asn1_der_decoding_element is just an alias of asn1_der_decoding()."

This reverts commit a8866ebf9a62386bd24f107e8384bbbf032baa52.

9 years agomade _asn1_ltostr() safer.
Nikos Mavrogiannopoulos [Sat, 17 May 2014 06:08:15 +0000 (08:08 +0200)]
made _asn1_ltostr() safer.

9 years agosafer usage of memcpy().
Nikos Mavrogiannopoulos [Fri, 16 May 2014 22:21:25 +0000 (00:21 +0200)]
safer usage of memcpy().

9 years agocheck for zero size in time and object ids.
Nikos Mavrogiannopoulos [Fri, 16 May 2014 22:06:01 +0000 (00:06 +0200)]
check for zero size in time and object ids.

9 years agoAllow for zero strings.
Nikos Mavrogiannopoulos [Fri, 16 May 2014 22:03:58 +0000 (00:03 +0200)]
Allow for zero strings.

9 years agosimplify ltostr()
Nikos Mavrogiannopoulos [Fri, 16 May 2014 21:48:27 +0000 (23:48 +0200)]
simplify ltostr()

9 years agodoc update
Nikos Mavrogiannopoulos [Fri, 16 May 2014 20:39:49 +0000 (22:39 +0200)]
doc update

9 years agoDo not return illegal values in asn1_get_bit_der().
Nikos Mavrogiannopoulos [Fri, 16 May 2014 20:10:08 +0000 (22:10 +0200)]
Do not return illegal values in asn1_get_bit_der().

9 years agoreturn the correct error code in asn1_read_value_type()
Nikos Mavrogiannopoulos [Fri, 16 May 2014 19:54:58 +0000 (21:54 +0200)]
return the correct error code in asn1_read_value_type()

9 years agoremoved debug definition
Nikos Mavrogiannopoulos [Fri, 16 May 2014 17:36:19 +0000 (19:36 +0200)]
removed debug definition

9 years agodoc update
Nikos Mavrogiannopoulos [Fri, 16 May 2014 17:27:03 +0000 (19:27 +0200)]
doc update

9 years agouse DECR_LEN() in _asn1_get_indefinite_length_string().
Nikos Mavrogiannopoulos [Fri, 16 May 2014 17:25:53 +0000 (19:25 +0200)]
use DECR_LEN() in _asn1_get_indefinite_length_string().

9 years agouse DECR_LEN in _asn1_get_octet_string()
Nikos Mavrogiannopoulos [Fri, 16 May 2014 17:21:37 +0000 (19:21 +0200)]
use DECR_LEN in _asn1_get_octet_string()