summaryrefslogtreecommitdiffstats
path: root/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-24 12:22:23 +0000
committerjsing <jsing@openbsd.org>2017-01-24 12:22:23 +0000
commit12f603bde36ecd37437fe3702670b79fcb014f71 (patch)
tree5a3fd3c38f46b97964f4efc937ce128bbd82a4c2 /lib/libssl/s3_srvr.c
parenthook ocspcheck into the build (diff)
downloadwireguard-openbsd-12f603bde36ecd37437fe3702670b79fcb014f71.tar.xz
wireguard-openbsd-12f603bde36ecd37437fe3702670b79fcb014f71.zip
Remove unused cert variable.
Found by bcook@
Diffstat (limited to 'lib/libssl/s3_srvr.c')
-rw-r--r--lib/libssl/s3_srvr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/s3_srvr.c b/lib/libssl/s3_srvr.c
index ef378620917..37095877422 100644
--- a/lib/libssl/s3_srvr.c
+++ b/lib/libssl/s3_srvr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_srvr.c,v 1.151 2017/01/24 01:44:00 jsing Exp $ */
+/* $OpenBSD: s3_srvr.c,v 1.152 2017/01/24 12:22:23 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1475,7 +1475,6 @@ ssl3_send_server_key_exchange(SSL *s)
int al, i;
unsigned long type;
int n;
- CERT *cert;
int kn;
BUF_MEM *buf;
EVP_MD_CTX md_ctx;
@@ -1485,7 +1484,6 @@ ssl3_send_server_key_exchange(SSL *s)
EVP_MD_CTX_init(&md_ctx);
if (s->internal->state == SSL3_ST_SW_KEY_EXCH_A) {
type = S3I(s)->tmp.new_cipher->algorithm_mkey;
- cert = s->cert;
buf = s->internal->init_buf;