diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
| -rw-r--r-- | src/lib/libcrypto/bio/bio.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index d0e2f3550c..8a473ca20a 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.40 2018/03/17 15:05:55 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.41 2018/05/01 13:29:09 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 | * |
| @@ -286,7 +286,7 @@ typedef struct bio_method_st { | |||
| 286 | } BIO_METHOD; | 286 | } BIO_METHOD; |
| 287 | 287 | ||
| 288 | struct bio_st { | 288 | struct bio_st { |
| 289 | BIO_METHOD *method; | 289 | const BIO_METHOD *method; |
| 290 | /* bio, mode, argp, argi, argl, ret */ | 290 | /* bio, mode, argp, argi, argl, ret */ |
| 291 | long (*callback)(struct bio_st *, int, const char *, int, long, long); | 291 | long (*callback)(struct bio_st *, int, const char *, int, long, long); |
| 292 | char *cb_arg; /* first argument for the callback */ | 292 | char *cb_arg; /* first argument for the callback */ |
| @@ -601,8 +601,8 @@ BIO_METHOD *BIO_s_file(void ); | |||
| 601 | BIO *BIO_new_file(const char *filename, const char *mode); | 601 | BIO *BIO_new_file(const char *filename, const char *mode); |
| 602 | BIO *BIO_new_fp(FILE *stream, int close_flag); | 602 | BIO *BIO_new_fp(FILE *stream, int close_flag); |
| 603 | # define BIO_s_file_internal BIO_s_file | 603 | # define BIO_s_file_internal BIO_s_file |
| 604 | BIO * BIO_new(BIO_METHOD *type); | 604 | BIO *BIO_new(const BIO_METHOD *type); |
| 605 | int BIO_set(BIO *a, BIO_METHOD *type); | 605 | int BIO_set(BIO *a, const BIO_METHOD *type); |
| 606 | int BIO_free(BIO *a); | 606 | int BIO_free(BIO *a); |
| 607 | int BIO_up_ref(BIO *bio); | 607 | int BIO_up_ref(BIO *bio); |
| 608 | void *BIO_get_data(BIO *a); | 608 | void *BIO_get_data(BIO *a); |
| @@ -643,16 +643,16 @@ long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, | |||
| 643 | 643 | ||
| 644 | BIO_METHOD *BIO_s_mem(void); | 644 | BIO_METHOD *BIO_s_mem(void); |
| 645 | BIO *BIO_new_mem_buf(void *buf, int len); | 645 | BIO *BIO_new_mem_buf(void *buf, int len); |
| 646 | BIO_METHOD *BIO_s_socket(void); | 646 | const BIO_METHOD *BIO_s_socket(void); |
| 647 | BIO_METHOD *BIO_s_connect(void); | 647 | const BIO_METHOD *BIO_s_connect(void); |
| 648 | BIO_METHOD *BIO_s_accept(void); | 648 | const BIO_METHOD *BIO_s_accept(void); |
| 649 | BIO_METHOD *BIO_s_fd(void); | 649 | const BIO_METHOD *BIO_s_fd(void); |
| 650 | BIO_METHOD *BIO_s_log(void); | 650 | const BIO_METHOD *BIO_s_log(void); |
| 651 | BIO_METHOD *BIO_s_bio(void); | 651 | const BIO_METHOD *BIO_s_bio(void); |
| 652 | BIO_METHOD *BIO_s_null(void); | 652 | const BIO_METHOD *BIO_s_null(void); |
| 653 | BIO_METHOD *BIO_f_null(void); | 653 | const BIO_METHOD *BIO_f_null(void); |
| 654 | BIO_METHOD *BIO_f_buffer(void); | 654 | const BIO_METHOD *BIO_f_buffer(void); |
| 655 | BIO_METHOD *BIO_f_nbio_test(void); | 655 | const BIO_METHOD *BIO_f_nbio_test(void); |
| 656 | #ifndef OPENSSL_NO_DGRAM | 656 | #ifndef OPENSSL_NO_DGRAM |
| 657 | BIO_METHOD *BIO_s_datagram(void); | 657 | BIO_METHOD *BIO_s_datagram(void); |
| 658 | #endif | 658 | #endif |
