How abt adding decreasing the iterator (i--) in the if-block so it looks like:


for(i=0; i < num_crls; i++) {
  crl = sk_X509_CRL_value(crl_stack, i);
  .....
  X509_verify_CRL();
  if (above check fails) {
     sk_X509_CRL_delete(crl_stack, i)
i--;
  }
}


Does it work for you? ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]

Reply via email to