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 1577c15..510e352 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
                                {