summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bss_log.c')
-rw-r--r--src/lib/libcrypto/bio/bss_log.c6
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);
81static void xsyslog(BIO* bp, int priority, const char* string); 81static void xsyslog(BIO* bp, int priority, const char* string);
82static void xcloselog(BIO* bp); 82static void xcloselog(BIO* bp);
83 83
84static BIO_METHOD methods_slg = { 84static 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
94BIO_METHOD * 94const BIO_METHOD *
95BIO_s_log(void) 95BIO_s_log(void)
96{ 96{
97 return (&methods_slg); 97 return (&methods_slg);