diff options
Diffstat (limited to 'src/lib/libcrypto/evp/bio_b64.c')
-rw-r--r-- | src/lib/libcrypto/evp/bio_b64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/bio_b64.c b/src/lib/libcrypto/evp/bio_b64.c index b54e8793ec..a13d26a884 100644 --- a/src/lib/libcrypto/evp/bio_b64.c +++ b/src/lib/libcrypto/evp/bio_b64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio_b64.c,v 1.20 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: bio_b64.c,v 1.21 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 | * |
@@ -91,7 +91,7 @@ typedef struct b64_struct { | |||
91 | char tmp[B64_BLOCK_SIZE]; | 91 | char tmp[B64_BLOCK_SIZE]; |
92 | } BIO_B64_CTX; | 92 | } BIO_B64_CTX; |
93 | 93 | ||
94 | static BIO_METHOD methods_b64 = { | 94 | static const BIO_METHOD methods_b64 = { |
95 | .type = BIO_TYPE_BASE64, | 95 | .type = BIO_TYPE_BASE64, |
96 | .name = "base64 encoding", | 96 | .name = "base64 encoding", |
97 | .bwrite = b64_write, | 97 | .bwrite = b64_write, |
@@ -103,7 +103,7 @@ static BIO_METHOD methods_b64 = { | |||
103 | .callback_ctrl = b64_callback_ctrl | 103 | .callback_ctrl = b64_callback_ctrl |
104 | }; | 104 | }; |
105 | 105 | ||
106 | BIO_METHOD * | 106 | const BIO_METHOD * |
107 | BIO_f_base64(void) | 107 | BIO_f_base64(void) |
108 | { | 108 | { |
109 | return (&methods_b64); | 109 | return (&methods_b64); |