summaryrefslogtreecommitdiff
path: root/lib/x509_ASN.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-03-05 09:04:03 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-03-05 09:04:03 +0000
commit7ac0edfe2201181e353cf9f9dc0a02639ed2828d (patch)
tree15e023424b5c21f81bf88aacb70514bbe9caa4c1 /lib/x509_ASN.c
parent0d92a39ffa2f99088ea3dbd7837cc4422b7a1e11 (diff)
downloadgnutls-7ac0edfe2201181e353cf9f9dc0a02639ed2828d.tar.gz
Added the error UNIX_TIME_LIMIT_EXCEEDED, and corrected bugs in X.509 certificate parsing.
Diffstat (limited to 'lib/x509_ASN.c')
-rw-r--r--lib/x509_ASN.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/lib/x509_ASN.c b/lib/x509_ASN.c
index 4dd4765a54..f5fa45abdc 100644
--- a/lib/x509_ASN.c
+++ b/lib/x509_ASN.c
@@ -1864,10 +1864,13 @@ yylex()
*
* Returns:
*
- * ASN_OK: the file has a correct syntax and every identifier is known.
- * ASN_FILE_NOT_FOUND: an error occured while opening FILE_NAME.
- * ASN_SYNTAX_ERROR: the syntax is not correct.
- * ASN_IDENTIFIER_NOT_FOUND: in the file there is an identifier that is not defined.
+ * ASN_OK\: the file has a correct syntax and every identifier is known.
+ *
+ * ASN_FILE_NOT_FOUND\: an error occured while opening FILE_NAME.
+ *
+ * ASN_SYNTAX_ERROR\: the syntax is not correct.
+ *
+ * ASN_IDENTIFIER_NOT_FOUND\: in the file there is an identifier that is not defined.
**/
int asn1_parser_asn1(char *file_name,node_asn **pointer){
p_tree=NULL;
@@ -1916,10 +1919,13 @@ int asn1_parser_asn1(char *file_name,node_asn **pointer){
*
* Returns:
*
- * ASN_OK: the file has a correct syntax and every identifier is known.
- * ASN_FILE_NOT_FOUND: an error occured while opening FILE_NAME.
- * ASN_SYNTAX_ERROR: the syntax is not correct.
- * ASN_IDENTIFIER_NOT_FOUND: in the file there is an identifier that is not defined.
+ * ASN_OK\: the file has a correct syntax and every identifier is known.
+ *
+ * ASN_FILE_NOT_FOUND\: an error occured while opening FILE_NAME.
+ *
+ * ASN_SYNTAX_ERROR\: the syntax is not correct.
+ *
+ * ASN_IDENTIFIER_NOT_FOUND\: in the file there is an identifier that is not defined.
**/
int asn1_parser_asn1_file_c(char *file_name){
int result;