]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed error in the ordering of the certinfo_t records in the ocsp cache that caused...
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 12 Dec 2007 20:25:50 +0000 (20:25 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 12 Dec 2007 20:25:50 +0000 (20:25 -0000)
src/libstrongswan/crypto/ca.c

index 1577c155d3216034d02c480dba2adbd5558dc259..510e3528ed442d22feaf8c028909161b9171e3d1 100644 (file)
@@ -654,7 +654,7 @@ static cert_status_t verify_by_ocsp(private_ca_info_t* this,
 
                                if (comparison > 0)
                                {
-                                       iterator->insert_after(iterator, (void *)cached_certinfo);
+                                       this->certinfos->insert_last(this->certinfos, (void *)cached_certinfo);
                                }
                                else
                                {