refactoring of the ASN.1 parser

This commit is contained in:
Andreas Steffen
2008-04-26 09:24:14 +00:00
parent 3444390241
commit d3d7e46b8c
19 changed files with 1587 additions and 1166 deletions
+2 -2
View File
@@ -418,7 +418,7 @@ int main(int argc, char **argv)
{
chunk_t date = { optarg, 15 };
notBefore = asn1totime(&date, ASN1_GENERALIZEDTIME);
notBefore = asn1_to_time(&date, ASN1_GENERALIZEDTIME);
}
continue;
@@ -431,7 +431,7 @@ int main(int argc, char **argv)
else
{
chunk_t date = { optarg, 15 };
notAfter = asn1totime(&date, ASN1_GENERALIZEDTIME);
notAfter = asn1_to_time(&date, ASN1_GENERALIZEDTIME);
}
continue;