aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/builder.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-10-06 16:49:46 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-10-06 16:49:46 +0200
commitce2f2461e02aaa0eec6da2b7fbc06c3e40c3154f (patch)
tree8a7e8e3915f46727cc694ca7efdd612e6f9ddd44 /src/pluto/builder.c
parentf3e9eae28394943822fde4ad75c94c5e71384c55 (diff)
downloadstrongswan-ce2f2461e02aaa0eec6da2b7fbc06c3e40c3154f.tar.bz2
strongswan-ce2f2461e02aaa0eec6da2b7fbc06c3e40c3154f.tar.xz
pluto and charon now have the same ipsec listall output format
Diffstat (limited to 'src/pluto/builder.c')
-rw-r--r--src/pluto/builder.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pluto/builder.c b/src/pluto/builder.c
index b8b9aac35..004145103 100644
--- a/src/pluto/builder.c
+++ b/src/pluto/builder.c
@@ -98,7 +98,6 @@ static cert_t *builder_load_cert(certificate_type_t type, va_list args)
*cert = cert_empty;
cert->type = CERT_X509_SIGNATURE;
cert->u.x509 = x509cert;
- time(&x509cert->installed);
return cert;
}
plog(" error in X.509 certificate");
@@ -134,7 +133,6 @@ static x509acert_t *builder_load_ac(certificate_type_t type, va_list args)
{
ac = malloc_thing(x509acert_t);
ac->next = NULL;
- ac->installed = UNDEFINED_TIME;
ac->ac = lib->creds->create(lib->creds,
CRED_CERTIFICATE, CERT_X509_AC,
BUILD_BLOB_ASN1_DER, blob, BUILD_END);
@@ -173,9 +171,8 @@ static x509crl_t *builder_load_crl(certificate_type_t type, va_list args)
if (blob.ptr)
{
crl = malloc_thing(x509crl_t);
- *crl = empty_x509crl;
+ crl->next = NULL;
crl->distributionPoints = linked_list_create();
-
crl->crl = lib->creds->create(lib->creds,
CRED_CERTIFICATE, CERT_X509_CRL,
BUILD_BLOB_ASN1_DER, blob,