diff options
| author | jsing <> | 2018-11-09 03:07:26 +0000 |
|---|---|---|
| committer | jsing <> | 2018-11-09 03:07:26 +0000 |
| commit | ff9f56d23303b7f7ad0e7cd172cbf16d30501a87 (patch) | |
| tree | d543e21b4b6888edf4c7db813c17f454571a55f7 | |
| parent | 0b1a5b561cf9b369459d5cc3b2cdb15e8ded9a74 (diff) | |
| download | openbsd-ff9f56d23303b7f7ad0e7cd172cbf16d30501a87.tar.gz openbsd-ff9f56d23303b7f7ad0e7cd172cbf16d30501a87.tar.bz2 openbsd-ff9f56d23303b7f7ad0e7cd172cbf16d30501a87.zip | |
Add header guards and hidden declarations.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/tls13_internal.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h index 0c48c87c89..cad769a1bf 100644 --- a/src/lib/libssl/tls13_internal.h +++ b/src/lib/libssl/tls13_internal.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_internal.h,v 1.3 2018/11/08 23:54:59 tb Exp $ */ | 1 | /* $OpenBSD: tls13_internal.h,v 1.4 2018/11/09 03:07:26 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018, Bob Beck <beck@openbsd.org> |
| 4 | * Copyright (c) 2018, Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018, Theo Buehler <tb@openbsd.org> |
| @@ -16,8 +16,13 @@ | |||
| 16 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #ifndef HEADER_TLS13_INTERNAL_H | ||
| 20 | #define HEADER_TLS13_INTERNAL_H | ||
| 21 | |||
| 19 | #include <openssl/evp.h> | 22 | #include <openssl/evp.h> |
| 20 | 23 | ||
| 24 | __BEGIN_HIDDEN_DECLS | ||
| 25 | |||
| 21 | struct tls13_secret { | 26 | struct tls13_secret { |
| 22 | uint8_t *data; | 27 | uint8_t *data; |
| 23 | size_t len; | 28 | size_t len; |
| @@ -123,3 +128,7 @@ int tls13_server_key_update_recv(struct tls13_ctx *ctx); | |||
| 123 | int tls13_server_key_update_send(struct tls13_ctx *ctx); | 128 | int tls13_server_key_update_send(struct tls13_ctx *ctx); |
| 124 | int tls13_server_message_hash_recv(struct tls13_ctx *ctx); | 129 | int tls13_server_message_hash_recv(struct tls13_ctx *ctx); |
| 125 | int tls13_server_message_hash_send(struct tls13_ctx *ctx); | 130 | int tls13_server_message_hash_send(struct tls13_ctx *ctx); |
| 131 | |||
| 132 | __END_HIDDEN_DECLS | ||
| 133 | |||
| 134 | #endif | ||
