diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-04-26 09:24:14 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-04-26 09:24:14 +0000 |
commit | d3d7e46b8ce797cf790ed170c07ffb417411f376 (patch) | |
tree | 75abf99d253665b1117935609e2ac0600946893a /src/openac | |
parent | 3444390241db7d0c598e026ba598f4263b3620ef (diff) | |
download | strongswan-d3d7e46b8ce797cf790ed170c07ffb417411f376.tar.bz2 strongswan-d3d7e46b8ce797cf790ed170c07ffb417411f376.tar.xz |
refactoring of the ASN.1 parser
Diffstat (limited to 'src/openac')
-rwxr-xr-x | src/openac/openac.c | 4 |
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; |