- add note about SSL connect errors on windows due to LIB/DLL mismatches
[m6w6/ext-http] / php_http_cache_api.h
index be73fa6aea310173cdc431441b7a290c701560ff..f81f853aecbff935c2378905f0151850c1904871 100644 (file)
@@ -79,7 +79,7 @@ static inline void *_http_etag_init(TSRMLS_D)
        {
                case HTTP_ETAG_CRC32:
                        ctx = emalloc(sizeof(unsigned int));
-                       memset(ctx, 1, sizeof(unsigned int));
+                       *((unsigned int *) ctx) = ~0;
                break;
                
                case HTTP_ETAG_SHA1: