From cbac025670b61b5b4c37c2c68c4089dd890068e7 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 2 Mar 2009 10:43:56 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_hash.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5