summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio_lib.c
diff options
context:
space:
mode:
authortb <>2022-01-05 20:22:26 +0000
committertb <>2022-01-05 20:22:26 +0000
commit21c9a0ff72332d0ed2c5b5bd6f41a189b9fc2685 (patch)
treedc2a96fb8e6cbbc67511171b81a4063942c50b86 /src/lib/libcrypto/bio/bio_lib.c
parent5a7fbd7859d7bab801f5daf68d5523fc85311d17 (diff)
downloadopenbsd-21c9a0ff72332d0ed2c5b5bd6f41a189b9fc2685.tar.gz
openbsd-21c9a0ff72332d0ed2c5b5bd6f41a189b9fc2685.tar.bz2
openbsd-21c9a0ff72332d0ed2c5b5bd6f41a189b9fc2685.zip
Prepare to provide BIO_set_next().
This will be needed in libssl and freerdp after the next bump. ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
-rw-r--r--src/lib/libcrypto/bio/bio_lib.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c
index 85eb0f0c77..51289ad295 100644
--- a/src/lib/libcrypto/bio/bio_lib.c
+++ b/src/lib/libcrypto/bio/bio_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_lib.c,v 1.31 2021/12/09 15:28:58 schwarze Exp $ */ 1/* $OpenBSD: bio_lib.c,v 1.32 2022/01/05 20:22:26 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 *
@@ -589,6 +589,12 @@ BIO_next(BIO *b)
589} 589}
590 590
591void 591void
592BIO_set_next(BIO *b, BIO *next)
593{
594 b->next_bio = next;
595}
596
597void
592BIO_free_all(BIO *bio) 598BIO_free_all(BIO *bio)
593{ 599{
594 BIO *b; 600 BIO *b;