diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 6 |
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 | ||