From d3d7e46b8ce797cf790ed170c07ffb417411f376 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Sat, 26 Apr 2008 09:24:14 +0000 Subject: refactoring of the ASN.1 parser --- src/openac/openac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openac') diff --git a/src/openac/openac.c b/src/openac/openac.c index f2d879f7a..210e1f676 100755 --- a/src/openac/openac.c +++ b/src/openac/openac.c @@ -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; -- cgit v1.2.3