From: phk Date: Mon, 2 Mar 2009 10:43:56 +0000 (+0000) Subject: Add an assert to make sure 32 stays 32 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbac025670b61b5b4c37c2c68c4089dd890068e7;p=varnish Add an assert to make sure 32 stays 32 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3848 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_hash.c b/varnish-cache/bin/varnishd/cache_hash.c index 73b252eb..5fce8464 100644 --- a/varnish-cache/bin/varnishd/cache_hash.c +++ b/varnish-cache/bin/varnishd/cache_hash.c @@ -572,6 +572,7 @@ void HSH_Init(void) { + assert(DIGEST_LEN == SHA256_LEN); /* avoid #include pollution */ save_hash = params->save_hash; hash = heritage.hash; if (hash->start != NULL)