+* Wed Jun 13 2007 Andrew McNab <Andrew.McNab@man.ac.uk>
+- Include ctx->param->flags fix in mod_gridsite for
+ OpenSSL 0.9.8 from Bruno Harbulot.
* Fri May 10 2007 Andrew McNab <Andrew.McNab@man.ac.uk>
- ==== GridSite version 1.5.1 ====
* Fri Feb 16 2007 Andrew McNab <Andrew.McNab@man.ac.uk>
X509_get_subject_name(x)) != 0)) return 1;
/* If we haven't asked for issuer errors don't set ctx */
+#if OPENSSL_VERSION_NUMBER < 0x00908000
if (!(ctx->flags & X509_V_FLAG_CB_ISSUER_CHECK)) return 0;
+#else
+ if (!(ctx->param->flags & X509_V_FLAG_CB_ISSUER_CHECK)) return 0;
+#endif
ctx->error = ret;
ctx->current_cert = x;