aboutsummaryrefslogtreecommitdiffstats
path: root/src/openac
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-04-26 09:24:14 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-04-26 09:24:14 +0000
commitd3d7e46b8ce797cf790ed170c07ffb417411f376 (patch)
tree75abf99d253665b1117935609e2ac0600946893a /src/openac
parent3444390241db7d0c598e026ba598f4263b3620ef (diff)
downloadstrongswan-d3d7e46b8ce797cf790ed170c07ffb417411f376.tar.bz2
strongswan-d3d7e46b8ce797cf790ed170c07ffb417411f376.tar.xz
refactoring of the ASN.1 parser
Diffstat (limited to 'src/openac')
-rwxr-xr-xsrc/openac/openac.c4
1 files changed, 2 insertions, 2 deletions
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;