X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_cache_api.h;h=a1d62eef20d922e2431963317bd1ce793502ebfc;hb=389e280e0bba312ff5ca9981801cc842dad26ec2;hp=7ca8998dd1d5453aa4706e1ad7d3647ad4bfcff6;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f;p=m6w6%2Fext-http 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;