summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authortb <>2022-01-14 09:10:11 +0000
committertb <>2022-01-14 09:10:11 +0000
commit84ba16c1b09530a035a1f361f5c8e5a175478796 (patch)
tree09e5bd9ea1f21c78b7f248d9f2e64acdf0f91cc2 /src/lib/libssl/ssl_lib.c
parent53be7c999edf2b5da8c31198d2e78dd5906217c2 (diff)
downloadopenbsd-84ba16c1b09530a035a1f361f5c8e5a175478796.tar.gz
openbsd-84ba16c1b09530a035a1f361f5c8e5a175478796.tar.bz2
openbsd-84ba16c1b09530a035a1f361f5c8e5a175478796.zip
Use BIO_next/BIO_set_next in ssl_lib.c
Trivial conversion to cope with opaque BIO.
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r--src/lib/libssl/ssl_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index c66437e77d..91080e9360 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.286 2022/01/11 18:43:00 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.287 2022/01/14 09:10:11 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -596,8 +596,8 @@ SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio)
596 /* If the output buffering BIO is still in place, remove it */ 596 /* If the output buffering BIO is still in place, remove it */
597 if (s->bbio != NULL) { 597 if (s->bbio != NULL) {
598 if (s->wbio == s->bbio) { 598 if (s->wbio == s->bbio) {
599 s->wbio = s->wbio->next_bio; 599 s->wbio = BIO_next(s->wbio);
600 s->bbio->next_bio = NULL; 600 BIO_set_next(s->bbio, NULL);
601 } 601 }
602 } 602 }
603 603