diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-12-08 08:20:10 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-12-09 21:27:29 +0100 |
commit | 27ab91951c96364351f1ea0652dbf14622440345 (patch) | |
tree | 53501e2f5f183b94d9ad2ea80e9f3e87f8875806 /crypto/bio | |
parent | 6aff543b9bf14bdac7f5385a9e56b8785b30f6d8 (diff) |
Make BIO_METHOD struct definitions consistent
I noticed that some of the BIO_METHOD structs are placing the name on
the same line as the type and some don't. This commit places the name
on a separate line for consistency (which looks like what the majority
do)
CLA: trivial
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4878)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bss_fd.c | 3 | ||||
-rw-r--r-- | crypto/bio/bss_log.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crypto/bio/bss_fd.c b/crypto/bio/bss_fd.c index 9c1826c06c..269a08baa9 100644 --- a/crypto/bio/bss_fd.c +++ b/crypto/bio/bss_fd.c @@ -58,7 +58,8 @@ static int fd_free(BIO *data); int BIO_fd_should_retry(int s); static const BIO_METHOD methods_fdp = { - BIO_TYPE_FD, "file descriptor", + BIO_TYPE_FD, + "file descriptor", /* TODO: Convert to new style write function */ bwrite_conv, fd_write, diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index b5b9363c38..040fbcd2bb 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -85,7 +85,8 @@ static void xsyslog(BIO *bp, int priority, const char *string); static void xcloselog(BIO *bp); static const BIO_METHOD methods_slg = { - BIO_TYPE_MEM, "syslog", + BIO_TYPE_MEM, + "syslog", /* TODO: Convert to new style write function */ bwrite_conv, slg_write, |