summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/bio_md.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/bio_md.c')
-rw-r--r--src/lib/libcrypto/evp/bio_md.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/lib/libcrypto/evp/bio_md.c b/src/lib/libcrypto/evp/bio_md.c
index 144fdfd56a..85eead6c95 100644
--- a/src/lib/libcrypto/evp/bio_md.c
+++ b/src/lib/libcrypto/evp/bio_md.c
@@ -74,18 +74,17 @@ static int md_new(BIO *h);
74static int md_free(BIO *data); 74static int md_free(BIO *data);
75static long md_callback_ctrl(BIO *h,int cmd,bio_info_cb *fp); 75static long md_callback_ctrl(BIO *h,int cmd,bio_info_cb *fp);
76 76
77static BIO_METHOD methods_md= 77static BIO_METHOD methods_md = {
78 { 78 .type = BIO_TYPE_MD,
79 BIO_TYPE_MD,"message digest", 79 .name = "message digest",
80 md_write, 80 .bwrite = md_write,
81 md_read, 81 .bread = md_read,
82 NULL, /* md_puts, */ 82 .bgets = md_gets,
83 md_gets, 83 .ctrl = md_ctrl,
84 md_ctrl, 84 .create = md_new,
85 md_new, 85 .destroy = md_free,
86 md_free, 86 .callback_ctrl = md_callback_ctrl
87 md_callback_ctrl, 87};
88 };
89 88
90BIO_METHOD *BIO_f_md(void) 89BIO_METHOD *BIO_f_md(void)
91 { 90 {