diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-24 09:41:50 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-24 09:41:50 +0100 |
commit | bbfe113c2d7540c6883eb3d83d7052f49f7988fc (patch) | |
tree | e1ed054448d536181462c8983a4deccf07245382 /lib/structure.c | |
parent | 435b15341e5aed9fe0f936d87a88bca31678458d (diff) | |
download | libtasn1-bbfe113c2d7540c6883eb3d83d7052f49f7988fc.tar.gz libtasn1-bbfe113c2d7540c6883eb3d83d7052f49f7988fc.tar.bz2 libtasn1-bbfe113c2d7540c6883eb3d83d7052f49f7988fc.zip |
Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIME
Diffstat (limited to 'lib/structure.c')
-rw-r--r-- | lib/structure.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/structure.c b/lib/structure.c index a508030..4d69765 100644 --- a/lib/structure.c +++ b/lib/structure.c @@ -753,9 +753,6 @@ asn1_print_structure (FILE * out, asn1_node structure, const char *name, case ASN1_ETYPE_IDENTIFIER: fprintf (out, "type:IDENTIFIER"); break; - case ASN1_ETYPE_TIME: - fprintf (out, "type:TIME"); - break; case ASN1_ETYPE_ANY: fprintf (out, "type:ANY"); break; @@ -826,7 +823,8 @@ asn1_print_structure (FILE * out, asn1_node structure, const char *name, fprintf (out, "%02x", (p->value)[k + len2]); } break; - case ASN1_ETYPE_TIME: + case ASN1_ETYPE_GENERALIZED_TIME: + case ASN1_ETYPE_UTC_TIME: if (p->value) fprintf (out, " value:%s", p->value); break; |