diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-12 22:19:08 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-12 22:19:08 +0200 |
commit | 7ddf0590e6310af489228f21fbf6c30de89c8c04 (patch) | |
tree | e404c2ee54fc9f17e24d3b6a8ab3e1f5dacf9fb7 /lib/libtasn1.h | |
parent | f21ac35f6ea131cef3ce3636aa6da7851c81762b (diff) | |
download | libtasn1-7ddf0590e6310af489228f21fbf6c30de89c8c04.tar.gz libtasn1-7ddf0590e6310af489228f21fbf6c30de89c8c04.tar.bz2 libtasn1-7ddf0590e6310af489228f21fbf6c30de89c8c04.zip |
name is now a statically allocated string and other optimizations.
Diffstat (limited to 'lib/libtasn1.h')
-rw-r--r-- | lib/libtasn1.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libtasn1.h b/lib/libtasn1.h index 9991941..30154ae 100644 --- a/lib/libtasn1.h +++ b/lib/libtasn1.h @@ -44,7 +44,7 @@ extern "C" { #endif -#define ASN1_VERSION "2.14" +#define ASN1_VERSION "3.0" typedef int asn1_retCode; /* type returned by libtasn1 functions */ @@ -112,6 +112,11 @@ extern "C" typedef node_asn *ASN1_TYPE; + + /* maximum number of characters of a name */ + /* inside a file with ASN1 definitons */ +#define ASN1_MAX_NAME_SIZE 128 + #define ASN1_TYPE_EMPTY NULL /*****************************************/ @@ -129,9 +134,6 @@ extern "C" /* Fixed constants */ /***********************************/ - /* maximum number of characters of a name */ - /* inside a file with ASN1 definitons */ -#define ASN1_MAX_NAME_SIZE 128 /* maximum number of characters */ /* of a description message */ |