aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-02-08 17:16:25 +0000
committerMatt Caswell <matt@openssl.org>2017-02-14 13:14:25 +0000
commit319a33d0060b77d9446894b8a386718abcaee1a4 (patch)
tree57b968b7d34921c9e211cc5ec0c54f86494cba8e /ssl
parent0dd7ba24e835fc66afc4997b376bc2a5e1f03992 (diff)
downloadopenssl-319a33d0060b77d9446894b8a386718abcaee1a4.tar.gz
Fix a bogus uninit variable warning
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2341)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/statem/extensions.c2
1 files changed, 1 insertions, 1 deletions
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 */