From ce2f2461e02aaa0eec6da2b7fbc06c3e40c3154f Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 6 Oct 2009 16:49:46 +0200 Subject: pluto and charon now have the same ipsec listall output format --- src/pluto/builder.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/pluto/builder.c') 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, -- cgit v1.2.3