Changes with Apache 2.0.42
+ *) Remove warnings with Sun's Forte compiler. [Justin Erenkrantz]
+
*) Fixed mod_disk_cache's generation of 304s
[Kris Verbeeck <Kris.Verbeeck@ubizen.com>]
fi
APR_ADDTO(LIBS, [-lz])
AC_MSG_CHECKING([for zlib library])
- AC_TRY_LINK([#include <zlib.h>], [return Z_OK;],
+ AC_TRY_LINK([#include <zlib.h>], [int i = Z_OK;],
[AC_MSG_RESULT(found)
AC_CHECK_HEADERS(zutil.h)],
[AC_MSG_RESULT(not found)
break;
}
/* Percolate upwards */
- while (current != (struct parse_node *) NULL) {
+ if (current != (struct parse_node *) NULL) {
switch (current->token.type) {
case token_not:
case token_eq:
*was_error = 1;
return retval;
}
- break;
}
if (current == (struct parse_node *) NULL) {
new->left = root;
break;
}
/* Percolate upwards */
- while (current != (struct parse_node *) NULL) {
+ if (current != (struct parse_node *) NULL) {
switch (current->token.type) {
case token_not:
case token_eq:
*was_error = 1;
return retval;
}
- break;
}
if (current == (struct parse_node *) NULL) {
new->left = root;
return DECLINED; /* XXX */
}
- vhost_md5 = ap_md5_binary(c->pool, sc->vhost_id, sc->vhost_id_len);
+ vhost_md5 = ap_md5_binary(c->pool, (unsigned char *)sc->vhost_id,
+ sc->vhost_id_len);
if (!SSL_set_session_id_context(ssl, (unsigned char *)vhost_md5,
MD5_DIGESTSIZE*2))
REG_EXTENDED|REG_NOSUB)) == NULL) {
ssl_expr_error = "Failed to compile regular expression";
YYERROR;
- regex = NULL;
}
$$ = ssl_expr_make(op_Regex, regex, NULL);
}
REG_EXTENDED|REG_NOSUB|REG_ICASE)) == NULL) {
ssl_expr_error = "Failed to compile regular expression";
YYERROR;
- regex = NULL;
}
$$ = ssl_expr_make(op_Regex, regex, NULL);
}
X509_NAME *xsn;
X509_NAME_ENTRY *xsne;
int i, nid;
- char *data_ptr;
+ unsigned char *data_ptr;
int data_len;
xsn = X509_get_subject_name(xs);