]> git.ipfire.org Git - people/ms/strongswan.git/commit
mem-cred: Support storing a delta CRL together with its base
authorTobias Brunner <tobias@strongswan.org>
Fri, 7 Oct 2016 08:56:06 +0000 (10:56 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 11 Oct 2016 15:18:22 +0000 (17:18 +0200)
commit9ba6548766e69d273884375b5acb2df0b37b3a2c
tree76e36706f532f8ca7aa14424db9ee682dad9f162
parentcee01fc9bf58ba513b13a1e003e8f8473117773d
mem-cred: Support storing a delta CRL together with its base

So far every "newer" CRL (higher serial or by date) replaced an existing
"older" CRL.  This meant that delta CRLs replaced an existing base CRL
and that base CRLs weren't added if a delta CRL was already stored.  So
the base had to be re-fetched every time after a delta CRL was added.

With this change one delta CRL to the latest base may be stored.  A newer
delta CRL will replace an existing delta CRL (but not its base, older
base CRLs are removed, though).  And a newer base will replace the existing
base and optional delta CRL.
src/libstrongswan/credentials/sets/mem_cred.c