From a233f690183a59be9ea1140342c786895b018256 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 4 Nov 2016 15:43:46 +0000 Subject: Use a consistent name for struct bio_cb * variables. --- src/lib/libtls/tls_bio_cb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libtls/tls_bio_cb.c b/src/lib/libtls/tls_bio_cb.c index 97a763867e..478bc1e614 100644 --- a/src/lib/libtls/tls_bio_cb.c +++ b/src/lib/libtls/tls_bio_cb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_bio_cb.c,v 1.12 2016/11/04 15:42:29 jsing Exp $ */ +/* $OpenBSD: tls_bio_cb.c,v 1.13 2016/11/04 15:43:46 jsing Exp $ */ /* * Copyright (c) 2016 Tobias Pape * @@ -174,7 +174,7 @@ tls_bio_read_cb(BIO *bio, char *buf, int size, void *cb_arg) static BIO * tls_get_new_cb_bio(struct tls *ctx) { - struct bio_cb *b; + struct bio_cb *bcb; BIO *bio; if (ctx->read_cb == NULL || ctx->write_cb == NULL) @@ -186,10 +186,10 @@ tls_get_new_cb_bio(struct tls *ctx) return (NULL); } - b = (struct bio_cb *)bio->ptr; - b->read_cb = tls_bio_read_cb; - b->write_cb = tls_bio_write_cb; - b->cb_arg = ctx; + bcb = (struct bio_cb *)bio->ptr; + bcb->read_cb = tls_bio_read_cb; + bcb->write_cb = tls_bio_write_cb; + bcb->cb_arg = ctx; return (bio); } -- cgit v1.2.3-55-g6feb