diff options
Diffstat (limited to 'src/lib/libssl/tls_content.h')
-rw-r--r-- | src/lib/libssl/tls_content.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/tls_content.h b/src/lib/libssl/tls_content.h index 173af2a740..b807248f60 100644 --- a/src/lib/libssl/tls_content.h +++ b/src/lib/libssl/tls_content.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_content.h,v 1.1 2021/09/04 16:26:12 jsing Exp $ */ | 1 | /* $OpenBSD: tls_content.h,v 1.2 2022/11/11 17:15:27 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -38,6 +38,8 @@ int tls_content_dup_data(struct tls_content *content, uint8_t type, | |||
38 | const uint8_t *data, size_t data_len); | 38 | const uint8_t *data, size_t data_len); |
39 | void tls_content_set_data(struct tls_content *content, uint8_t type, | 39 | void tls_content_set_data(struct tls_content *content, uint8_t type, |
40 | const uint8_t *data, size_t data_len); | 40 | const uint8_t *data, size_t data_len); |
41 | int tls_content_set_bounds(struct tls_content *content, size_t offset, | ||
42 | size_t len); | ||
41 | void tls_content_set_epoch(struct tls_content *content, uint16_t epoch); | 43 | void tls_content_set_epoch(struct tls_content *content, uint16_t epoch); |
42 | 44 | ||
43 | ssize_t tls_content_peek(struct tls_content *content, uint8_t *buf, size_t n); | 45 | ssize_t tls_content_peek(struct tls_content *content, uint8_t *buf, size_t n); |