summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderaadt <>2016-12-21 18:13:07 +0000
committerderaadt <>2016-12-21 18:13:07 +0000
commit66b191e54f24dcd4e8df0762cb020622b7060949 (patch)
treed89b7597b9a9e136a544deacefd9158a48c5d0ec
parent60059a27dada0300e806d8a31bdfedb4c5955137 (diff)
downloadopenbsd-66b191e54f24dcd4e8df0762cb020622b7060949.tar.gz
openbsd-66b191e54f24dcd4e8df0762cb020622b7060949.tar.bz2
openbsd-66b191e54f24dcd4e8df0762cb020622b7060949.zip
Pacify compiler warning about an unitialized variable which is obviously
not really being used. ok beck.
-rw-r--r--src/lib/libssl/s3_clnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c
index 07457e95a7..a2e42c0cad 100644
--- a/src/lib/libssl/s3_clnt.c
+++ b/src/lib/libssl/s3_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_clnt.c,v 1.157 2016/12/21 16:44:31 jsing Exp $ */ 1/* $OpenBSD: s3_clnt.c,v 1.158 2016/12/21 18:13:07 deraadt Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1996,7 +1996,7 @@ ssl3_send_client_kex_dhe(SSL *s, SESS_CERT *sess_cert, CBB *cbb)
1996{ 1996{
1997 DH *dh_srvr = NULL, *dh_clnt = NULL; 1997 DH *dh_srvr = NULL, *dh_clnt = NULL;
1998 unsigned char *key = NULL; 1998 unsigned char *key = NULL;
1999 int key_size, key_len; 1999 int key_size = 0, key_len;
2000 unsigned char *data; 2000 unsigned char *data;
2001 int ret = -1; 2001 int ret = -1;
2002 CBB dh_Yc; 2002 CBB dh_Yc;
@@ -2065,7 +2065,7 @@ ssl3_send_client_kex_ecdhe_ecp(SSL *s, SESS_CERT *sc, CBB *cbb)
2065 unsigned char *key = NULL; 2065 unsigned char *key = NULL;
2066 unsigned char *data; 2066 unsigned char *data;
2067 size_t encoded_len; 2067 size_t encoded_len;
2068 int key_size, key_len; 2068 int key_size = 0, key_len;
2069 int ret = -1; 2069 int ret = -1;
2070 CBB ecpoint; 2070 CBB ecpoint;
2071 2071