diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-10-22 09:44:59 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-10-22 09:44:59 +0000 |
commit | 53035b88895fe374215ab665d18f94aa61584312 (patch) | |
tree | 9016f6d00702ccaa06b6fc483e667ca5e0a22af8 | |
parent | 20c34ac3e48c91ce0a6b8d5f1465030a65dd8a9e (diff) |
Garbage collect an unused variable.
-rw-r--r-- | usr.bin/openssl/s_client.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/openssl/s_client.c b/usr.bin/openssl/s_client.c index df35ffbc654..3a5355b8704 100644 --- a/usr.bin/openssl/s_client.c +++ b/usr.bin/openssl/s_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_client.c,v 1.54 2021/03/17 18:11:01 jsing Exp $ */ +/* $OpenBSD: s_client.c,v 1.55 2021/10/22 09:44:58 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -894,7 +894,7 @@ s_client_main(int argc, char **argv) char *cbuf = NULL, *sbuf = NULL, *mbuf = NULL, *pbuf = NULL; int cbuf_len, cbuf_off; int sbuf_len, sbuf_off; - int pbuf_len, pbuf_off; + int pbuf_len; int full_log = 1; char *pass = NULL; X509 *cert = NULL; @@ -1196,7 +1196,6 @@ s_client_main(int argc, char **argv) sbuf_len = 0; sbuf_off = 0; pbuf_len = 0; - pbuf_off = 0; /* This is an ugly hack that does a lot of assumptions */ /* @@ -1503,7 +1502,6 @@ s_client_main(int argc, char **argv) if (SSL_get_error(con, p) == SSL_ERROR_NONE) { if (p <= 0) goto end; - pbuf_off = 0; pbuf_len = p; k = SSL_read(con, sbuf, p); |