Thanks for the suggestion. I think we also need to decrement num_crls otherwise we will exceed the array boundary.
Thanks again. --- Tan Eng Ten <[EMAIL PROTECTED]> wrote: > 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] > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]