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_0-17-g28a038f


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_3_0-17-g28a038f
Date: Thu, 22 Nov 2012 18:45:42 +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=28a038f45620bf885f791e1e2d0505714fe2222f

The branch, master has been updated
       via  28a038f45620bf885f791e1e2d0505714fe2222f (commit)
       via  24078b55e3565acd9bfd7f7a61829182076daca1 (commit)
      from  f9e6e03a14d7409cda2df5f231bc3e0a9a254d42 (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 28a038f45620bf885f791e1e2d0505714fe2222f
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Thu Nov 22 19:44:16 2012 +0100

    use const for the data

commit 24078b55e3565acd9bfd7f7a61829182076daca1
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Thu Nov 22 19:43:10 2012 +0100

    updated

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

Summary of changes:
 NEWS         |    2 +-
 lib/coding.c |    2 +-
 lib/int.h    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index 9997ea1..be519ba 100644
--- a/NEWS
+++ b/NEWS
@@ -5,7 +5,7 @@ GNU Libtasn1 NEWS                                     -*- 
outline -*-
   ASN1_ARRAY_TYPE -> asn1_static_node (was asn1_static_node_t)
 - Added new types: VisibleString, NumericString, IA5String, TeletexString,
   PrintableString, UniversalString, BMPString, UTF8String. When re-defined
-  a warning is being instead of failing.
+  a warning is being print instead of failing.
 - Parser outputs more detailed syntax error message.
 
 * Noteworthy changes in release 3.0 (2012-10-28) [stable]
diff --git a/lib/coding.c b/lib/coding.c
index 5d98fe4..0802f73 100644
--- a/lib/coding.c
+++ b/lib/coding.c
@@ -429,7 +429,7 @@ _asn1_complete_explicit_tag (asn1_node node, unsigned char 
*der,
   return ASN1_SUCCESS;
 }
 
-tag_and_class_st _asn1_tags[] =
+const tag_and_class_st _asn1_tags[] =
 {
   [ASN1_ETYPE_GENERALSTRING] = {ASN1_TAG_GENERALSTRING, ASN1_CLASS_UNIVERSAL, 
"type:GENERALSTRING"},
   [ASN1_ETYPE_NUMERICSTRING] = {ASN1_TAG_NUMERICSTRING, ASN1_CLASS_UNIVERSAL, 
"type:NUMERIC_STR"},
diff --git a/lib/int.h b/lib/int.h
index 0761025..70fa896 100644
--- a/lib/int.h
+++ b/lib/int.h
@@ -87,7 +87,7 @@ typedef struct tag_and_class_st {
        case ASN1_ETYPE_SET: \
        case ASN1_ETYPE_SET_OF
 
-extern tag_and_class_st _asn1_tags[];
+extern const tag_and_class_st _asn1_tags[];
 
 #define _asn1_strlen(s) strlen((const char *) s)
 #define _asn1_strtol(n,e,b) strtol((const char *) n, e, b)


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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