mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
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>
This commit is contained in:
parent
e5bf62f716
commit
d2200cafd4
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user