提交 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 { ...@@ -131,44 +131,43 @@ typedef struct ssl3_buffer_st {
typedef struct ssl3_record_st { typedef struct ssl3_record_st {
/* type of record */ /* type of record */
/* /* r */
* r int type;
*/ int type;
/* How many bytes available */ /* How many bytes available */
/* /* rw */
* rw unsigned int length;
*/ unsigned int length;
/* /*
* How many bytes were available before padding was removed? This is used * How many bytes were available before padding was removed? This is used
* to implement the MAC check in constant time for CBC records. * to implement the MAC check in constant time for CBC records.
*/ */
/* /* rw */
* rw unsigned int orig_len;
*/ unsigned int orig_len;
/* read/write offset into 'buf' */ /* read/write offset into 'buf' */
/* /* r */
* r unsigned int off;
*/ unsigned int off;
/* pointer to the record data */ /* pointer to the record data */
/* /* rw */
* rw unsigned char *data;
*/ unsigned char *data;
/* where the decode bytes are */ /* where the decode bytes are */
/* /* rw */
* rw unsigned char *input;
*/ unsigned char *input;
/* only used with decompression - malloc()ed */ /* only used with decompression - malloc()ed */
/* /* r */
* r unsigned char *comp;
*/ unsigned char *comp;
/* epoch number, needed by DTLS1 */ /* epoch number, needed by DTLS1 */
/* /* r */
* r unsigned long epoch;
*/ unsigned long epoch;
/* sequence number, needed by DTLS1 */ /* sequence number, needed by DTLS1 */
/* /* r */
* r unsigned char seq_num[SEQ_NUM_SIZE];
*/ unsigned char seq_num[SEQ_NUM_SIZE];
} SSL3_RECORD; } SSL3_RECORD;
typedef struct dtls1_bitmap_st { typedef struct dtls1_bitmap_st {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册