char *mode = HTTP_G->etag.mode;
#ifdef HTTP_HAVE_HASH
- php_hash_ops *eho = NULL;
+ const php_hash_ops *eho = NULL;
if (mode && (eho = php_hash_fetch_ops(mode, strlen(mode)))) {
ctx = emalloc(eho->context_size);
char *etag = NULL, *mode = HTTP_G->etag.mode;
#ifdef HTTP_HAVE_HASH
- php_hash_ops *eho = NULL;
+ const php_hash_ops *eho = NULL;
if (mode && (eho = php_hash_fetch_ops(mode, strlen(mode)))) {
eho->hash_final(digest, ctx);
{
char *mode = HTTP_G->etag.mode;
#ifdef HTTP_HAVE_HASH
- php_hash_ops *eho = NULL;
+ const php_hash_ops *eho = NULL;
if (mode && (eho = php_hash_fetch_ops(mode, strlen(mode)))) {
eho->hash_update(ctx, (const unsigned char *) data_ptr, data_len);