diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-11-09 03:07:27 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-11-09 03:07:27 +0000 |
commit | c9d2cde326fd96b28706805b1857ab53680304bf (patch) | |
tree | b6ec743c9a2bc9a0a1b50d149086e24da30e06af /lib | |
parent | af9f7f284187e5958f95af7ee66e1b9d7aae75d8 (diff) |
Add header guards and hidden declarations.
Diffstat (limited to 'lib')
-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 |