From c9d2cde326fd96b28706805b1857ab53680304bf Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 9 Nov 2018 03:07:27 +0000 Subject: Add header guards and hidden declarations. --- lib/libssl/tls13_internal.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libssl/tls13_internal.h b/lib/libssl/tls13_internal.h index 0c48c87c89f..cad769a1bf9 100644 --- a/lib/libssl/tls13_internal.h +++ b/lib/libssl/tls13_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_internal.h,v 1.3 2018/11/08 23:54:59 tb Exp $ */ +/* $OpenBSD: tls13_internal.h,v 1.4 2018/11/09 03:07:26 jsing Exp $ */ /* * Copyright (c) 2018, Bob Beck * Copyright (c) 2018, Theo Buehler @@ -16,8 +16,13 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef HEADER_TLS13_INTERNAL_H +#define HEADER_TLS13_INTERNAL_H + #include +__BEGIN_HIDDEN_DECLS + struct tls13_secret { uint8_t *data; size_t len; @@ -123,3 +128,7 @@ int tls13_server_key_update_recv(struct tls13_ctx *ctx); int tls13_server_key_update_send(struct tls13_ctx *ctx); int tls13_server_message_hash_recv(struct tls13_ctx *ctx); int tls13_server_message_hash_send(struct tls13_ctx *ctx); + +__END_HIDDEN_DECLS + +#endif -- cgit v1.2.3