From: Andy Polyakov Date: Fri, 12 Feb 2016 13:53:51 +0000 (+0100) Subject: apps/speed.c: initialize c[D_GHASH][i]. X-Git-Tag: OpenSSL_1_1_0-pre3~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d9843e7f5899835696d90f859ff88041c851d09;p=oweals%2Fopenssl.git apps/speed.c: initialize c[D_GHASH][i]. RT#4230 Reviewed-by: Richard Levitte --- diff --git a/apps/speed.c b/apps/speed.c index 6d9458c882..a0decd7031 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1071,6 +1071,7 @@ int speed_main(int argc, char **argv) c[D_SHA256][i] = c[D_SHA256][0] * 4 * l0 / l1; c[D_SHA512][i] = c[D_SHA512][0] * 4 * l0 / l1; c[D_WHIRLPOOL][i] = c[D_WHIRLPOOL][0] * 4 * l0 / l1; + c[D_GHASH][i] = c[D_GHASH][0] * 4 * l0 / l1; l0 = (long)lengths[i - 1];