I'm using 3.1.20 but I figured out where my patch was wrong from your example. All working now! Thanks again for your help. Cheers Dan On 10/08/2012, at 10:11 PM, nipun_mlist Assam <nipunmlist@xxxxxxxxx> wrote: >> >> I made a patch (attached) based on your suggestions but the build is = >> failing on the following errors: >> certificate_db.cc: In member function 'bool = >> Ssl::CertificateDb::deleteInvalidCertificate()': >> certificate_db.cc:439: error: invalid conversion from 'void*' to 'const = >> _STACK*' >> certificate_db.cc:439: error: initializing argument 1 of 'void* = >> sk_value(const _STACK*, int)' >> certificate_db.cc: In member function 'bool = >> Ssl::CertificateDb::deleteOldestCertificate()': > > Which squid version you are using ? > I am attaching my patch for certifiacate_db.cc (for squid version > squid-3.2.0.19). > It should compile > > Regards, > Nipun > <certificate_db_cc_compile_fix_patch.txt>