提交 54ef01b5 编写于 作者: A Andy Polyakov

Fix indentation in d1_both.c.

上级 9311c442
......@@ -1188,7 +1188,7 @@ dtls1_set_message_header_int(SSL *s, unsigned char mt,
msg_hdr->seq = seq_num;
msg_hdr->frag_off = frag_off;
msg_hdr->frag_len = frag_len;
}
}
static void
dtls1_fix_message_header(SSL *s, unsigned long frag_off,
......@@ -1218,9 +1218,8 @@ dtls1_write_message_header(SSL *s, unsigned char *p)
static unsigned int
dtls1_min_mtu(void)
{
return
g_probable_mtu[(sizeof(g_probable_mtu) /
sizeof(g_probable_mtu[0])) - 1];
return (g_probable_mtu[(sizeof(g_probable_mtu) /
sizeof(g_probable_mtu[0])) - 1]);
}
static unsigned int
......@@ -1257,4 +1256,4 @@ dtls1_get_ccs_header(unsigned char *data, struct ccs_header_st *ccs_hdr)
ccs_hdr->type = *(data++);
n2s(data, ccs_hdr->seq);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册