diff options
author | inoguchi <> | 2020-04-29 01:22:28 +0000 |
---|---|---|
committer | inoguchi <> | 2020-04-29 01:22:28 +0000 |
commit | 67bcde095983086d567f3b4aa1efe982b30b587c (patch) | |
tree | 864ef27541af8037c2818bc78df0d4145abdf7ed | |
parent | c18c986abbe66711d3b3ed873f7dde63d0573969 (diff) | |
download | openbsd-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.c | 8 |
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 | ||
838 | ssize_t | 838 | static ssize_t |
839 | tls13_record_layer_pending(struct tls13_record_layer *rl, uint8_t content_type) | 839 | tls13_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 | ||
949 | ssize_t | 949 | static ssize_t |
950 | tls13_record_layer_peek(struct tls13_record_layer *rl, uint8_t content_type, | 950 | tls13_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 | ||
962 | ssize_t | 962 | static ssize_t |
963 | tls13_record_layer_read(struct tls13_record_layer *rl, uint8_t content_type, | 963 | tls13_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 | { |