diff options
author | tb <> | 2018-05-01 13:29:10 +0000 |
---|---|---|
committer | tb <> | 2018-05-01 13:29:10 +0000 |
commit | 82267b005082127062ce8593ce4963d09c361e2e (patch) | |
tree | 7876885f1d21e5b53f5a28cdd2d502808082a4fc /src/lib/libcrypto/bio/bss_log.c | |
parent | 8b1e85eca7f06a392dbd8ae9b560599523c8de07 (diff) | |
download | openbsd-82267b005082127062ce8593ce4963d09c361e2e.tar.gz openbsd-82267b005082127062ce8593ce4963d09c361e2e.tar.bz2 openbsd-82267b005082127062ce8593ce4963d09c361e2e.zip |
const for BIO_{new,set}() and most of the BIO_{f,s}_*() family of
functions.
ok beck, jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bss_log.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_log.c b/src/lib/libcrypto/bio/bss_log.c index fcaa985aa0..7ef1312d79 100644 --- a/src/lib/libcrypto/bio/bss_log.c +++ b/src/lib/libcrypto/bio/bss_log.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_log.c,v 1.21 2014/07/11 08:44:47 jsing Exp $ */ | 1 | /* $OpenBSD: bss_log.c,v 1.22 2018/05/01 13:29:10 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -81,7 +81,7 @@ static void xopenlog(BIO* bp, char* name, int level); | |||
81 | static void xsyslog(BIO* bp, int priority, const char* string); | 81 | static void xsyslog(BIO* bp, int priority, const char* string); |
82 | static void xcloselog(BIO* bp); | 82 | static void xcloselog(BIO* bp); |
83 | 83 | ||
84 | static BIO_METHOD methods_slg = { | 84 | static const BIO_METHOD methods_slg = { |
85 | .type = BIO_TYPE_MEM, | 85 | .type = BIO_TYPE_MEM, |
86 | .name = "syslog", | 86 | .name = "syslog", |
87 | .bwrite = slg_write, | 87 | .bwrite = slg_write, |
@@ -91,7 +91,7 @@ static BIO_METHOD methods_slg = { | |||
91 | .destroy = slg_free | 91 | .destroy = slg_free |
92 | }; | 92 | }; |
93 | 93 | ||
94 | BIO_METHOD * | 94 | const BIO_METHOD * |
95 | BIO_s_log(void) | 95 | BIO_s_log(void) |
96 | { | 96 | { |
97 | return (&methods_slg); | 97 | return (&methods_slg); |