summaryrefslogtreecommitdiff
path: root/lib/ASN1.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-01 21:48:04 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-01 22:14:08 +0200
commit901a49ced275c448e21177b64f6fe85f1d4208b2 (patch)
treeb82b3ae8751836ff2747b907d7227edd8f7315ae /lib/ASN1.c
parent005827d4b7c32d43cfbd1235ba1dd4d0a4ea7fcc (diff)
downloadlibtasn1-901a49ced275c448e21177b64f6fe85f1d4208b2.tar.gz
libtasn1-901a49ced275c448e21177b64f6fe85f1d4208b2.tar.bz2
libtasn1-901a49ced275c448e21177b64f6fe85f1d4208b2.zip
asn1_retCode -> int
Diffstat (limited to 'lib/ASN1.c')
-rw-r--r--lib/ASN1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ASN1.c b/lib/ASN1.c
index b6a5844..6cbda2d 100644
--- a/lib/ASN1.c
+++ b/lib/ASN1.c
@@ -109,7 +109,7 @@
#include <structure.h>
static FILE *file_asn1; /* Pointer to file to parse */
-static asn1_retCode result_parse; /* result of the parser
+static int result_parse; /* result of the parser
algorithm */
static ASN1_TYPE p_tree; /* pointer to the root of the
structure created by the
@@ -2809,7 +2809,7 @@ _asn1_create_errorDescription(int error,char *errorDescription)
* file there is an identifier whith more than %ASN1_MAX_NAME_SIZE
* characters.
**/
-asn1_retCode
+int
asn1_parser2tree(const char *file_name, ASN1_TYPE *definitions,
char *errorDescription){