summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio.h
diff options
context:
space:
mode:
authortb <>2022-01-14 07:49:49 +0000
committertb <>2022-01-14 07:49:49 +0000
commit8c60ea70a3180083dd57070d774a38f43ce0ea08 (patch)
tree86eaa4f6c31663bf615ddba9616c66030e99b5c9 /src/lib/libcrypto/bio/bio.h
parent55b6b15a4f08444e468a207fc894ef005c2fb5fa (diff)
downloadopenbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.gz
openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.bz2
openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.zip
Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_API
This marks the start of major surgery in libcrypto. Do not attempt to build the tree for a while (~50 commits).
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r--src/lib/libcrypto/bio/bio.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index 23d47367d4..d715deb2eb 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.50 2022/01/05 20:48:44 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.51 2022/01/14 07:49:49 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 *
@@ -632,14 +632,10 @@ BIO * BIO_pop(BIO *b);
632void BIO_free_all(BIO *a); 632void BIO_free_all(BIO *a);
633BIO * BIO_find_type(BIO *b, int bio_type); 633BIO * BIO_find_type(BIO *b, int bio_type);
634BIO * BIO_next(BIO *b); 634BIO * BIO_next(BIO *b);
635#if defined(LIBRESSL_OPAQUE_BIO) || defined(LIBRESSL_CRYPTO_INTERNAL)
636void BIO_set_next(BIO *b, BIO *next); 635void BIO_set_next(BIO *b, BIO *next);
637#endif
638BIO * BIO_get_retry_BIO(BIO *bio, int *reason); 636BIO * BIO_get_retry_BIO(BIO *bio, int *reason);
639int BIO_get_retry_reason(BIO *bio); 637int BIO_get_retry_reason(BIO *bio);
640#if defined(LIBRESSL_OPAQUE_BIO) || defined(LIBRESSL_CRYPTO_INTERNAL)
641void BIO_set_retry_reason(BIO *bio, int reason); 638void BIO_set_retry_reason(BIO *bio, int reason);
642#endif
643BIO * BIO_dup_chain(BIO *in); 639BIO * BIO_dup_chain(BIO *in);
644 640
645int BIO_nread0(BIO *bio, char **buf); 641int BIO_nread0(BIO *bio, char **buf);