diff options
Diffstat (limited to 'src/lib/libssl/tls13_record.h')
-rw-r--r-- | src/lib/libssl/tls13_record.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_record.h b/src/lib/libssl/tls13_record.h index 72350d5d49..400153ba77 100644 --- a/src/lib/libssl/tls13_record.h +++ b/src/lib/libssl/tls13_record.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_record.h,v 1.2 2019/01/20 09:12:05 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_record.h,v 1.3 2019/01/21 00:24:19 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -46,10 +46,13 @@ __BEGIN_HIDDEN_DECLS | |||
46 | */ | 46 | */ |
47 | #define TLS13_RECORD_SEQ_NUM_LEN 8 | 47 | #define TLS13_RECORD_SEQ_NUM_LEN 8 |
48 | 48 | ||
49 | struct tls13_record; | ||
50 | |||
49 | struct tls13_record *tls13_record_new(void); | 51 | struct tls13_record *tls13_record_new(void); |
50 | void tls13_record_free(struct tls13_record *_rec); | 52 | void tls13_record_free(struct tls13_record *_rec); |
51 | int tls13_record_header(struct tls13_record *_rec, CBS *_cbs); | 53 | uint16_t tls13_record_version(struct tls13_record *_rec); |
52 | uint8_t tls13_record_content_type(struct tls13_record *_rec); | 54 | uint8_t tls13_record_content_type(struct tls13_record *_rec); |
55 | int tls13_record_header(struct tls13_record *_rec, CBS *_cbs); | ||
53 | int tls13_record_content(struct tls13_record *_rec, CBS *_cbs); | 56 | int tls13_record_content(struct tls13_record *_rec, CBS *_cbs); |
54 | void tls13_record_data(struct tls13_record *_rec, CBS *_cbs); | 57 | void tls13_record_data(struct tls13_record *_rec, CBS *_cbs); |
55 | int tls13_record_set_data(struct tls13_record *_rec, uint8_t *_data, | 58 | int tls13_record_set_data(struct tls13_record *_rec, uint8_t *_data, |