summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/bio_asn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/bio_asn1.c')
-rw-r--r--src/lib/libcrypto/asn1/bio_asn1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/bio_asn1.c b/src/lib/libcrypto/asn1/bio_asn1.c
index 02ad310639..93bcb33888 100644
--- a/src/lib/libcrypto/asn1/bio_asn1.c
+++ b/src/lib/libcrypto/asn1/bio_asn1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_asn1.c,v 1.12 2015/12/23 01:46:33 mmcc Exp $ */ 1/* $OpenBSD: bio_asn1.c,v 1.13 2018/05/01 13:29:09 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -125,7 +125,7 @@ static int asn1_bio_setup_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx,
125 asn1_ps_func *setup, asn1_bio_state_t ex_state, 125 asn1_ps_func *setup, asn1_bio_state_t ex_state,
126 asn1_bio_state_t other_state); 126 asn1_bio_state_t other_state);
127 127
128static BIO_METHOD methods_asn1 = { 128static const BIO_METHOD methods_asn1 = {
129 .type = BIO_TYPE_ASN1, 129 .type = BIO_TYPE_ASN1,
130 .name = "asn1", 130 .name = "asn1",
131 .bwrite = asn1_bio_write, 131 .bwrite = asn1_bio_write,
@@ -138,7 +138,7 @@ static BIO_METHOD methods_asn1 = {
138 .callback_ctrl = asn1_bio_callback_ctrl 138 .callback_ctrl = asn1_bio_callback_ctrl
139}; 139};
140 140
141BIO_METHOD * 141const BIO_METHOD *
142BIO_f_asn1(void) 142BIO_f_asn1(void)
143{ 143{
144 return (&methods_asn1); 144 return (&methods_asn1);