diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
-rw-r--r-- | src/lib/libcrypto/bio/bio_lib.c | 8 |
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 7ef1784e13..05f0258947 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.29 2019/04/14 17:39:03 jsing Exp $ */ | 1 | /* $OpenBSD: bio_lib.c,v 1.30 2021/10/24 13:46:56 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 | * |
@@ -170,6 +170,12 @@ BIO_set_data(BIO *a, void *ptr) | |||
170 | a->ptr = ptr; | 170 | a->ptr = ptr; |
171 | } | 171 | } |
172 | 172 | ||
173 | int | ||
174 | BIO_get_init(BIO *a) | ||
175 | { | ||
176 | return a->init; | ||
177 | } | ||
178 | |||
173 | void | 179 | void |
174 | BIO_set_init(BIO *a, int init) | 180 | BIO_set_init(BIO *a, int init) |
175 | { | 181 | { |