summaryrefslogtreecommitdiff
path: root/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-11-09 03:07:27 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-11-09 03:07:27 +0000
commitc9d2cde326fd96b28706805b1857ab53680304bf (patch)
treeb6ec743c9a2bc9a0a1b50d149086e24da30e06af /lib/libssl/tls13_internal.h
parentaf9f7f284187e5958f95af7ee66e1b9d7aae75d8 (diff)
Add header guards and hidden declarations.
Diffstat (limited to 'lib/libssl/tls13_internal.h')
-rw-r--r--lib/libssl/tls13_internal.h11
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