summaryrefslogtreecommitdiff
path: root/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2019-11-17 21:47:02 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2019-11-17 21:47:02 +0000
commit81c5370a61f4adca26d3b54a6178e81b5bfc661c (patch)
tree39fec53aee3ced1cbea5453c7c0ec4fffb521847 /lib/libssl/tls13_internal.h
parented00e9c69971068c9da9c9d9c3a73f6d21ab42ee (diff)
Change tls13_record_layer_phh() to take a CBS as this avoids ownership
issues and makes call sites cleaner. ok beck@
Diffstat (limited to 'lib/libssl/tls13_internal.h')
-rw-r--r--lib/libssl/tls13_internal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libssl/tls13_internal.h b/lib/libssl/tls13_internal.h
index 05e108952a3..df5f13eb668 100644
--- a/lib/libssl/tls13_internal.h
+++ b/lib/libssl/tls13_internal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_internal.h,v 1.31 2019/11/17 17:20:16 jsing Exp $ */
+/* $OpenBSD: tls13_internal.h,v 1.32 2019/11/17 21:47:01 jsing Exp $ */
/*
* Copyright (c) 2018 Bob Beck <beck@openbsd.org>
* Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -122,8 +122,7 @@ int tls13_record_layer_set_write_traffic_key(struct tls13_record_layer *rl,
struct tls13_secret *write_key);
ssize_t tls13_record_layer_alert(struct tls13_record_layer *rl,
uint8_t alert_level, uint8_t alert_desc);
-ssize_t tls13_record_layer_phh(struct tls13_record_layer *rl, uint8_t *data,
- size_t len);
+ssize_t tls13_record_layer_phh(struct tls13_record_layer *rl, CBS *cbs);
ssize_t tls13_read_handshake_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
ssize_t tls13_write_handshake_data(struct tls13_record_layer *rl, const uint8_t *buf,