aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bio/bss_log.c')
-rw-r--r--crypto/bio/bss_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c
index 560f1b7aa3..a6bc0e779a 100644
--- a/crypto/bio/bss_log.c
+++ b/crypto/bio/bss_log.c
@@ -128,7 +128,7 @@ static void xopenlog(BIO *bp, char *name, int level);
static void xsyslog(BIO *bp, int priority, const char *string);
static void xcloselog(BIO *bp);
-static BIO_METHOD methods_slg = {
+static const BIO_METHOD methods_slg = {
BIO_TYPE_MEM, "syslog",
slg_write,
NULL,
@@ -140,7 +140,7 @@ static BIO_METHOD methods_slg = {
NULL,
};
-BIO_METHOD *BIO_s_log(void)
+const BIO_METHOD *BIO_s_log(void)
{
return (&methods_slg);
}