X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_cache_api.h;fp=php_http_cache_api.h;h=a1d62eef20d922e2431963317bd1ce793502ebfc;hp=7ca8998dd1d5453aa4706e1ad7d3647ad4bfcff6;hb=4fcbd8e8ae31611c5197ff2369673b5939fc2b80;hpb=3b81f44e1506fa9356db0b630401f8ff95e9d89a;ds=sidebyside 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;