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)
(cherry picked from commit
27ab91951c96364351f1ea0652dbf14622440345)
int BIO_fd_should_retry(int s);
static const BIO_METHOD methods_fdp = {
- BIO_TYPE_FD, "file descriptor",
+ BIO_TYPE_FD,
+ "file descriptor",
fd_write,
fd_read,
fd_puts,
static void xcloselog(BIO *bp);
static const BIO_METHOD methods_slg = {
- BIO_TYPE_MEM, "syslog",
+ BIO_TYPE_MEM,
+ "syslog",
slg_write,
NULL,
slg_puts,
} BIO_B64_CTX;
static const BIO_METHOD methods_b64 = {
- BIO_TYPE_BASE64, "base64 encoding",
+ BIO_TYPE_BASE64,
+ "base64 encoding",
b64_write,
b64_read,
b64_puts,
} BIO_ENC_CTX;
static const BIO_METHOD methods_enc = {
- BIO_TYPE_CIPHER, "cipher",
+ BIO_TYPE_CIPHER,
+ "cipher",
enc_write,
enc_read,
NULL, /* enc_puts, */
static long md_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
static const BIO_METHOD methods_md = {
- BIO_TYPE_MD, "message digest",
+ BIO_TYPE_MD,
+ "message digest",
md_write,
md_read,
NULL, /* md_puts, */
} BIO_OK_CTX;
static const BIO_METHOD methods_ok = {
- BIO_TYPE_CIPHER, "reliable",
+ BIO_TYPE_CIPHER,
+ "reliable",
ok_write,
ok_read,
NULL, /* ok_puts, */
} BIO_SSL;
static const BIO_METHOD methods_sslp = {
- BIO_TYPE_SSL, "ssl",
+ BIO_TYPE_SSL,
+ "ssl",
ssl_write,
ssl_read,
ssl_puts,