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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/bio_md.c b/src/lib/libcrypto/evp/bio_md.c
index b1973746a7..44f72185dc 100644
--- a/src/lib/libcrypto/evp/bio_md.c
+++ b/src/lib/libcrypto/evp/bio_md.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_md.c,v 1.14 2014/07/11 08:44:48 jsing Exp $ */ 1/* $OpenBSD: bio_md.c,v 1.15 2018/05/02 15:51:41 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 *
@@ -74,7 +74,7 @@ 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 const BIO_METHOD methods_md = {
78 .type = BIO_TYPE_MD, 78 .type = BIO_TYPE_MD,
79 .name = "message digest", 79 .name = "message digest",
80 .bwrite = md_write, 80 .bwrite = md_write,
@@ -86,7 +86,7 @@ static BIO_METHOD methods_md = {
86 .callback_ctrl = md_callback_ctrl 86 .callback_ctrl = md_callback_ctrl
87}; 87};
88 88
89BIO_METHOD * 89const BIO_METHOD *
90BIO_f_md(void) 90BIO_f_md(void)
91{ 91{
92 return (&methods_md); 92 return (&methods_md);