summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio/bf_buff.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/bio/bf_buff.c')
-rw-r--r--lib/libcrypto/bio/bf_buff.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libcrypto/bio/bf_buff.c b/lib/libcrypto/bio/bf_buff.c
index 99be1a629e5..e96da40a58a 100644
--- a/lib/libcrypto/bio/bf_buff.c
+++ b/lib/libcrypto/bio/bf_buff.c
@@ -72,16 +72,16 @@ static long buffer_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
#define DEFAULT_BUFFER_SIZE 4096
static BIO_METHOD methods_buffer = {
- BIO_TYPE_BUFFER,
- "buffer",
- buffer_write,
- buffer_read,
- buffer_puts,
- buffer_gets,
- buffer_ctrl,
- buffer_new,
- buffer_free,
- buffer_callback_ctrl,
+ .type = BIO_TYPE_BUFFER,
+ .name = "buffer",
+ .bwrite = buffer_write,
+ .bread = buffer_read,
+ .bputs = buffer_puts,
+ .bgets = buffer_gets,
+ .ctrl = buffer_ctrl,
+ .create = buffer_new,
+ .destroy = buffer_free,
+ .callback_ctrl = buffer_callback_ctrl
};
BIO_METHOD *