summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
-rw-r--r--src/lib/libcrypto/bio/bio_lib.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c
index b2acd01342..8ad54cefd2 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.25 2018/02/20 17:15:27 jsing Exp $ */ 1/* $OpenBSD: bio_lib.c,v 1.26 2018/02/20 17:55: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 *
@@ -169,6 +169,18 @@ BIO_set_init(BIO *a, int init)
169 a->init = init; 169 a->init = init;
170} 170}
171 171
172int
173BIO_get_shutdown(BIO *a)
174{
175 return (a->shutdown);
176}
177
178void
179BIO_set_shutdown(BIO *a, int shut)
180{
181 a->shutdown = shut;
182}
183
172void 184void
173BIO_clear_flags(BIO *b, int flags) 185BIO_clear_flags(BIO *b, int flags)
174{ 186{