Fixed compiler warning in invocation of crl_is_newer()
authorMartin Willi <martin@revosec.ch>
Fri, 21 May 2010 14:41:13 +0000 (16:41 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 21 May 2010 14:41:13 +0000 (16:41 +0200)
src/pluto/crl.c

index b28c7be..e6a64bf 100644 (file)
@@ -159,7 +159,7 @@ bool insert_crl(x509crl_t *x509crl, char *crl_uri, bool cache_crl)
        {
                certificate_t *old_cert_crl = oldcrl->crl;
 
-               if (crl_is_newer(x509crl->crl, oldcrl->crl))
+               if (crl_is_newer((crl_t*)cert_crl, (crl_t*)old_cert_crl))
                {
                        /* keep any known CRL distribution points */
                        add_distribution_points(x509crl->distributionPoints,