summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio.h
diff options
context:
space:
mode:
authortb <>2018-02-18 12:58:25 +0000
committertb <>2018-02-18 12:58:25 +0000
commit9e320b370b52d7100229aad540de9a8bc5cf2266 (patch)
treeac1d981df5d82d44a2761e1df0287d35d5e39bca /src/lib/libcrypto/bio/bio.h
parent08088224c26400ca4e52e683e20d87c097025de9 (diff)
downloadopenbsd-9e320b370b52d7100229aad540de9a8bc5cf2266.tar.gz
openbsd-9e320b370b52d7100229aad540de9a8bc5cf2266.tar.bz2
openbsd-9e320b370b52d7100229aad540de9a8bc5cf2266.zip
Provide BIO_{g,s}et_data() and BIO_set_init().
ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r--src/lib/libcrypto/bio/bio.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index 3a1577ab37..c60ab389a0 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.31 2018/02/17 13:57:14 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.32 2018/02/18 12:58:25 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 *
@@ -586,6 +586,9 @@ BIO *BIO_new_fp(FILE *stream, int close_flag);
586BIO * BIO_new(BIO_METHOD *type); 586BIO * BIO_new(BIO_METHOD *type);
587int BIO_set(BIO *a, BIO_METHOD *type); 587int BIO_set(BIO *a, BIO_METHOD *type);
588int BIO_free(BIO *a); 588int BIO_free(BIO *a);
589void *BIO_get_data(BIO *a);
590void BIO_set_data(BIO *a, void *ptr);
591void BIO_set_init(BIO *a, int init);
589void BIO_vfree(BIO *a); 592void BIO_vfree(BIO *a);
590int BIO_read(BIO *b, void *data, int len) 593int BIO_read(BIO *b, void *data, int len)
591 __attribute__((__bounded__(__buffer__,2,3))); 594 __attribute__((__bounded__(__buffer__,2,3)));