提交 d2200caf 编写于 作者: M Matt Caswell

Fix record.h formatting

Fix some strange formatting in record.h. This was probably originally
introduced as part of the reformat work.
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 e5bf62f7
......@@ -131,44 +131,43 @@ typedef struct ssl3_buffer_st {
typedef struct ssl3_record_st {
/* type of record */
/*
* r
*/ int type;
/* r */
int type;
/* How many bytes available */
/*
* rw
*/ unsigned int length;
/* rw */
unsigned int length;
/*
* How many bytes were available before padding was removed? This is used
* to implement the MAC check in constant time for CBC records.
*/
/*
* rw
*/ unsigned int orig_len;
/* rw */
unsigned int orig_len;
/* read/write offset into 'buf' */
/*
* r
*/ unsigned int off;
/* r */
unsigned int off;
/* pointer to the record data */
/*
* rw
*/ unsigned char *data;
/* rw */
unsigned char *data;
/* where the decode bytes are */
/*
* rw
*/ unsigned char *input;
/* rw */
unsigned char *input;
/* only used with decompression - malloc()ed */
/*
* r
*/ unsigned char *comp;
/* r */
unsigned char *comp;
/* epoch number, needed by DTLS1 */
/*
* r
*/ unsigned long epoch;
/* r */
unsigned long epoch;
/* sequence number, needed by DTLS1 */
/*
* r
*/ unsigned char seq_num[SEQ_NUM_SIZE];
/* r */
unsigned char seq_num[SEQ_NUM_SIZE];
} SSL3_RECORD;
typedef struct dtls1_bitmap_st {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册