提交 6f7ae319 编写于 作者: M Matt Caswell

Fix formatting oddities

Fix some formatting oddities in rec_layer_d1.c.
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 d2200caf
...@@ -259,8 +259,7 @@ static int dtls1_copy_record(SSL *s, pitem *item) ...@@ -259,8 +259,7 @@ static int dtls1_copy_record(SSL *s, pitem *item)
return (1); return (1);
} }
int int dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority)
dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority)
{ {
DTLS1_RECORD_DATA *rdata; DTLS1_RECORD_DATA *rdata;
pitem *item; pitem *item;
...@@ -1049,9 +1048,8 @@ int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek) ...@@ -1049,9 +1048,8 @@ int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
* this only happens when a client hello is received and a handshake * this only happens when a client hello is received and a handshake
* is started. * is started.
*/ */
static int static int have_handshake_fragment(SSL *s, int type, unsigned char *buf,
have_handshake_fragment(SSL *s, int type, unsigned char *buf, int len, int peek)
int len, int peek)
{ {
if ((type == SSL3_RT_HANDSHAKE) if ((type == SSL3_RT_HANDSHAKE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册