diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index 8efeba2005..1d34f082ee 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.33 2018/02/18 12:59:06 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.34 2018/02/20 17:15:27 jsing 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 | * |
@@ -103,6 +103,12 @@ extern "C" { | |||
103 | #define BIO_TYPE_FILTER 0x0200 | 103 | #define BIO_TYPE_FILTER 0x0200 |
104 | #define BIO_TYPE_SOURCE_SINK 0x0400 | 104 | #define BIO_TYPE_SOURCE_SINK 0x0400 |
105 | 105 | ||
106 | /* | ||
107 | * BIO_TYPE_START is the first user-allocated BIO type. No pre-defined type, | ||
108 | * flag bits aside, may exceed this value. | ||
109 | */ | ||
110 | #define BIO_TYPE_START 128 | ||
111 | |||
106 | /* BIO_FILENAME_READ|BIO_CLOSE to open or close on free. | 112 | /* BIO_FILENAME_READ|BIO_CLOSE to open or close on free. |
107 | * BIO_set_fp(in,stdin,BIO_NOCLOSE); */ | 113 | * BIO_set_fp(in,stdin,BIO_NOCLOSE); */ |
108 | #define BIO_NOCLOSE 0x00 | 114 | #define BIO_NOCLOSE 0x00 |
@@ -580,6 +586,7 @@ int | |||
580 | BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix, | 586 | BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix, |
581 | asn1_ps_func **psuffix_free); | 587 | asn1_ps_func **psuffix_free); |
582 | 588 | ||
589 | int BIO_get_new_index(void); | ||
583 | BIO_METHOD *BIO_s_file(void ); | 590 | BIO_METHOD *BIO_s_file(void ); |
584 | BIO *BIO_new_file(const char *filename, const char *mode); | 591 | BIO *BIO_new_file(const char *filename, const char *mode); |
585 | BIO *BIO_new_fp(FILE *stream, int close_flag); | 592 | BIO *BIO_new_fp(FILE *stream, int close_flag); |