diff options
author | 2018-11-09 03:07:26 +0000 | |
---|---|---|
committer | 2018-11-09 03:07:26 +0000 | |
commit | aa90ddb067c05a0ae2f9ca4694aeccf1b4d20c2c (patch) | |
tree | 997c0c3e6ab94a4c87bb0deb97b4881e8d3aae48 /lib/libssl/tls13_internal.h | |
parent | typo in error message; caught by Debian lintian, via Colin Watson (diff) | |
download | wireguard-openbsd-aa90ddb067c05a0ae2f9ca4694aeccf1b4d20c2c.tar.xz wireguard-openbsd-aa90ddb067c05a0ae2f9ca4694aeccf1b4d20c2c.zip |
Add header guards and hidden declarations.
Diffstat (limited to 'lib/libssl/tls13_internal.h')
-rw-r--r-- | lib/libssl/tls13_internal.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 <beck@openbsd.org> * Copyright (c) 2018, Theo Buehler <tb@openbsd.org> @@ -16,8 +16,13 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef HEADER_TLS13_INTERNAL_H +#define HEADER_TLS13_INTERNAL_H + #include <openssl/evp.h> +__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 |