From: Matt Caswell Date: Wed, 8 Feb 2017 17:16:25 +0000 (+0000) Subject: Fix a bogus uninit variable warning X-Git-Tag: OpenSSL_1_1_1-pre1~2410 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=319a33d0060b77d9446894b8a386718abcaee1a4;p=oweals%2Fopenssl.git Fix a bogus uninit variable warning Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/2341) --- diff --git a/ssl/statem/extensions.c b/ssl/statem/extensions.c index 99326b2b55..50fd3bb2c5 100644 --- a/ssl/statem/extensions.c +++ b/ssl/statem/extensions.c @@ -1018,7 +1018,7 @@ static int final_key_share(SSL *s, unsigned int context, int sent, int *al) != 0)) { const unsigned char *pcurves, *pcurvestmp, *clntcurves; size_t num_curves, clnt_num_curves, i; - unsigned int group_id; + unsigned int group_id = 0; /* Check if a shared group exists */