diff options
author | jsing <> | 2016-11-04 15:43:46 +0000 |
---|---|---|
committer | jsing <> | 2016-11-04 15:43:46 +0000 |
commit | a233f690183a59be9ea1140342c786895b018256 (patch) | |
tree | 085aa4c8a57ce6bda13e0fd6eb0ec6065546ee24 | |
parent | e4b7ccb772bf94290d42d448cd5c371f6b3c8df8 (diff) | |
download | openbsd-a233f690183a59be9ea1140342c786895b018256.tar.gz openbsd-a233f690183a59be9ea1140342c786895b018256.tar.bz2 openbsd-a233f690183a59be9ea1140342c786895b018256.zip |
Use a consistent name for struct bio_cb * variables.
-rw-r--r-- | src/lib/libtls/tls_bio_cb.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 @@ | |||
1 | /* $OpenBSD: tls_bio_cb.c,v 1.12 2016/11/04 15:42:29 jsing Exp $ */ | 1 | /* $OpenBSD: tls_bio_cb.c,v 1.13 2016/11/04 15:43:46 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016 Tobias Pape <tobias@netshed.de> | 3 | * Copyright (c) 2016 Tobias Pape <tobias@netshed.de> |
4 | * | 4 | * |
@@ -174,7 +174,7 @@ tls_bio_read_cb(BIO *bio, char *buf, int size, void *cb_arg) | |||
174 | static BIO * | 174 | static BIO * |
175 | tls_get_new_cb_bio(struct tls *ctx) | 175 | tls_get_new_cb_bio(struct tls *ctx) |
176 | { | 176 | { |
177 | struct bio_cb *b; | 177 | struct bio_cb *bcb; |
178 | BIO *bio; | 178 | BIO *bio; |
179 | 179 | ||
180 | if (ctx->read_cb == NULL || ctx->write_cb == NULL) | 180 | if (ctx->read_cb == NULL || ctx->write_cb == NULL) |
@@ -186,10 +186,10 @@ tls_get_new_cb_bio(struct tls *ctx) | |||
186 | return (NULL); | 186 | return (NULL); |
187 | } | 187 | } |
188 | 188 | ||
189 | b = (struct bio_cb *)bio->ptr; | 189 | bcb = (struct bio_cb *)bio->ptr; |
190 | b->read_cb = tls_bio_read_cb; | 190 | bcb->read_cb = tls_bio_read_cb; |
191 | b->write_cb = tls_bio_write_cb; | 191 | bcb->write_cb = tls_bio_write_cb; |
192 | b->cb_arg = ctx; | 192 | bcb->cb_arg = ctx; |
193 | 193 | ||
194 | return (bio); | 194 | return (bio); |
195 | } | 195 | } |