summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinoguchi <>2020-04-29 01:22:28 +0000
committerinoguchi <>2020-04-29 01:22:28 +0000
commit67bcde095983086d567f3b4aa1efe982b30b587c (patch)
tree864ef27541af8037c2818bc78df0d4145abdf7ed
parentc18c986abbe66711d3b3ed873f7dde63d0573969 (diff)
downloadopenbsd-67bcde095983086d567f3b4aa1efe982b30b587c.tar.gz
openbsd-67bcde095983086d567f3b4aa1efe982b30b587c.tar.bz2
openbsd-67bcde095983086d567f3b4aa1efe982b30b587c.zip
tls13_record_layer internal functions to static in libssl
We might remove static again for further regress around record layer in the future. ok jsing@ tb@
-rw-r--r--src/lib/libssl/tls13_record_layer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/tls13_record_layer.c b/src/lib/libssl/tls13_record_layer.c
index 7664feffc0..dac8fe088d 100644
--- a/src/lib/libssl/tls13_record_layer.c
+++ b/src/lib/libssl/tls13_record_layer.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_record_layer.c,v 1.30 2020/03/16 15:11:35 tb Exp $ */ 1/* $OpenBSD: tls13_record_layer.c,v 1.31 2020/04/29 01:22:28 inoguchi Exp $ */
2/* 2/*
3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -835,7 +835,7 @@ tls13_record_layer_read_record(struct tls13_record_layer *rl)
835 return TLS13_IO_FAILURE; 835 return TLS13_IO_FAILURE;
836} 836}
837 837
838ssize_t 838static ssize_t
839tls13_record_layer_pending(struct tls13_record_layer *rl, uint8_t content_type) 839tls13_record_layer_pending(struct tls13_record_layer *rl, uint8_t content_type)
840{ 840{
841 if (rl->rbuf_content_type != content_type) 841 if (rl->rbuf_content_type != content_type)
@@ -946,7 +946,7 @@ tls13_record_layer_read_internal(struct tls13_record_layer *rl,
946 return TLS13_IO_FAILURE; 946 return TLS13_IO_FAILURE;
947} 947}
948 948
949ssize_t 949static ssize_t
950tls13_record_layer_peek(struct tls13_record_layer *rl, uint8_t content_type, 950tls13_record_layer_peek(struct tls13_record_layer *rl, uint8_t content_type,
951 uint8_t *buf, size_t n) 951 uint8_t *buf, size_t n)
952{ 952{
@@ -959,7 +959,7 @@ tls13_record_layer_peek(struct tls13_record_layer *rl, uint8_t content_type,
959 return ret; 959 return ret;
960} 960}
961 961
962ssize_t 962static ssize_t
963tls13_record_layer_read(struct tls13_record_layer *rl, uint8_t content_type, 963tls13_record_layer_read(struct tls13_record_layer *rl, uint8_t content_type,
964 uint8_t *buf, size_t n) 964 uint8_t *buf, size_t n)
965{ 965{