X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_cache_api.h;h=a1d62eef20d922e2431963317bd1ce793502ebfc;hp=7ca8998dd1d5453aa4706e1ad7d3647ad4bfcff6;hb=d046681a7b929ef813849cfe38fbceb333f0b0eb;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f diff --git a/php_http_cache_api.h b/php_http_cache_api.h index 7ca8998..a1d62ee 100644 --- a/php_http_cache_api.h +++ b/php_http_cache_api.h @@ -33,7 +33,7 @@ #define http_etag_digest(d, l) _http_etag_digest((d), (l)) static inline char *_http_etag_digest(const unsigned char *digest, int len) { - static const char hexdigits[16] = "0123456789abcdef"; + static const char hexdigits[17] = "0123456789abcdef"; int i; char *hex = emalloc(len * 2 + 1); char *ptr = hex;