summaryrefslogtreecommitdiffstats
path: root/ssl/record/record.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-03-26 13:17:38 +0000
committerMatt Caswell <matt@openssl.org>2015-03-26 17:26:26 +0000
commitd2200cafd4870c20ef170834e072fae1d8c412d5 (patch)
tree0db6156585ecfc32974258f56d285ed2c9338a6b /ssl/record/record.h
parente5bf62f716f71e4df6995a07d1fbc4cad82a2637 (diff)
Fix record.h formatting
Fix some strange formatting in record.h. This was probably originally introduced as part of the reformat work. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/record/record.h')
-rw-r--r--ssl/record/record.h53
1 files changed, 26 insertions, 27 deletions
diff --git a/ssl/record/record.h b/ssl/record/record.h
index 99af914b5b..29c74d7cb9 100644
--- a/ssl/record/record.h
+++ b/ssl/record/record.h
@@ -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 {