diff options
author | tb <> | 2018-02-20 17:55:26 +0000 |
---|---|---|
committer | tb <> | 2018-02-20 17:55:26 +0000 |
commit | 93b4c9ceb476b480a4ee81b5b43b72ba3b1810c3 (patch) | |
tree | 6261fbc9f2c403c30832c6044143b4123114dbc4 /src/lib/libcrypto/bio/bio.h | |
parent | 42758c7d159e6f62bc60ac613482e5fe42b3c61b (diff) | |
download | openbsd-93b4c9ceb476b480a4ee81b5b43b72ba3b1810c3.tar.gz openbsd-93b4c9ceb476b480a4ee81b5b43b72ba3b1810c3.tar.bz2 openbsd-93b4c9ceb476b480a4ee81b5b43b72ba3b1810c3.zip |
Provide BIO_{g,s}et_shutdown().
ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index 1d34f082ee..39a04bda56 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio.h,v 1.34 2018/02/20 17:15:27 jsing Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.35 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 | * |
@@ -597,6 +597,8 @@ int BIO_free(BIO *a); | |||
597 | void *BIO_get_data(BIO *a); | 597 | void *BIO_get_data(BIO *a); |
598 | void BIO_set_data(BIO *a, void *ptr); | 598 | void BIO_set_data(BIO *a, void *ptr); |
599 | void BIO_set_init(BIO *a, int init); | 599 | void BIO_set_init(BIO *a, int init); |
600 | int BIO_get_shutdown(BIO *a); | ||
601 | void BIO_set_shutdown(BIO *a, int shut); | ||
600 | void BIO_vfree(BIO *a); | 602 | void BIO_vfree(BIO *a); |
601 | int BIO_read(BIO *b, void *data, int len) | 603 | int BIO_read(BIO *b, void *data, int len) |
602 | __attribute__((__bounded__(__buffer__,2,3))); | 604 | __attribute__((__bounded__(__buffer__,2,3))); |