libtasn1-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libtasn1 branch, master, updated. libtasn1_3_6-20-g10b9817


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_3_6-20-g10b9817
Date: Wed, 04 Jun 2014 15:43:38 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".

http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=10b9817e978c37a8193dea17e5dd894913fec728

The branch, master has been updated
       via  10b9817e978c37a8193dea17e5dd894913fec728 (commit)
      from  cf99716e175b6380bde113f415477948d70bdbda (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 10b9817e978c37a8193dea17e5dd894913fec728
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Wed Jun 4 17:42:46 2014 +0200

    DER decoding: optimize tail seek by using the value providing by 
_asn1_append_sequence_set.

-----------------------------------------------------------------------

Summary of changes:
 lib/decoding.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/lib/decoding.c b/lib/decoding.c
index 199580c..5f5d55b 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -1292,9 +1292,7 @@ asn1_der_decoding (asn1_node * element, const void *ider, 
int ider_len,
                      if (!HAVE_TWO(ider_len) || ((der[counter]) || der[counter 
+ 1]))
                        {
                          _asn1_append_sequence_set (p, &ptail);
-                         p = p->down;
-                         while (p->right)
-                           p = p->right;
+                         p = ptail;
                          move = RIGHT;
                          continue;
                        }
@@ -1309,9 +1307,7 @@ asn1_der_decoding (asn1_node * element, const void *ider, 
int ider_len,
                      if (len2 > counter)
                        {
                          _asn1_append_sequence_set (p, &ptail);
-                         p = p->down;
-                         while (p->right)
-                           p = p->right;
+                         p = ptail;
                          move = RIGHT;
                          continue;
                        }


hooks/post-receive
-- 
GNU libtasn1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]