summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio/bss_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/bio/bss_log.c')
-rw-r--r--lib/libcrypto/bio/bss_log.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/libcrypto/bio/bss_log.c b/lib/libcrypto/bio/bss_log.c
index 6aa2d8b0a49..ac1cbc5087b 100644
--- a/lib/libcrypto/bio/bss_log.c
+++ b/lib/libcrypto/bio/bss_log.c
@@ -86,15 +86,13 @@ static void xsyslog(BIO* bp, int priority, const char* string);
static void xcloselog(BIO* bp);
static BIO_METHOD methods_slg = {
- BIO_TYPE_MEM, "syslog",
- slg_write,
- NULL,
- slg_puts,
- NULL,
- slg_ctrl,
- slg_new,
- slg_free,
- NULL,
+ .type = BIO_TYPE_MEM,
+ .name = "syslog",
+ .bwrite = slg_write,
+ .bputs = slg_puts,
+ .ctrl = slg_ctrl,
+ .create = slg_new,
+ .destroy = slg_free
};
BIO_METHOD *