diff options
author | 2016-12-21 18:13:07 +0000 | |
---|---|---|
committer | 2016-12-21 18:13:07 +0000 | |
commit | 89e755e977e10fa23c142a12fc91fab257beda96 (patch) | |
tree | 97674ea360dd59b90017aa00734b3e8fa625e7de /lib | |
parent | sync (diff) | |
download | wireguard-openbsd-89e755e977e10fa23c142a12fc91fab257beda96.tar.xz wireguard-openbsd-89e755e977e10fa23c142a12fc91fab257beda96.zip |
Pacify compiler warning about an unitialized variable which is obviously
not really being used.
ok beck.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/s3_clnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/s3_clnt.c b/lib/libssl/s3_clnt.c index 07457e95a7a..a2e42c0cadd 100644 --- a/lib/libssl/s3_clnt.c +++ b/lib/libssl/s3_clnt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_clnt.c,v 1.157 2016/12/21 16:44:31 jsing Exp $ */ +/* $OpenBSD: s3_clnt.c,v 1.158 2016/12/21 18:13:07 deraadt Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1996,7 +1996,7 @@ ssl3_send_client_kex_dhe(SSL *s, SESS_CERT *sess_cert, CBB *cbb) { DH *dh_srvr = NULL, *dh_clnt = NULL; unsigned char *key = NULL; - int key_size, key_len; + int key_size = 0, key_len; unsigned char *data; int ret = -1; CBB dh_Yc; @@ -2065,7 +2065,7 @@ ssl3_send_client_kex_ecdhe_ecp(SSL *s, SESS_CERT *sc, CBB *cbb) unsigned char *key = NULL; unsigned char *data; size_t encoded_len; - int key_size, key_len; + int key_size = 0, key_len; int ret = -1; CBB ecpoint; |