diff options
author | tb <> | 2018-11-08 20:38:25 +0000 |
---|---|---|
committer | tb <> | 2018-11-08 20:38:25 +0000 |
commit | d1d568e5589418aecc7cdb33ca2338d20ce7c5d8 (patch) | |
tree | cb679473e3cdc5d32c4b9cedfe590aa36251c72f | |
parent | b86f3c2d93eb7700d5516638d5374023390b256c (diff) | |
download | openbsd-d1d568e5589418aecc7cdb33ca2338d20ce7c5d8.tar.gz openbsd-d1d568e5589418aecc7cdb33ca2338d20ce7c5d8.tar.bz2 openbsd-d1d568e5589418aecc7cdb33ca2338d20ce7c5d8.zip |
Move #include <openssl/evp.h> to the header.
discussed with beck and jsing
-rw-r--r-- | src/lib/libssl/tls13_internal.h | 4 | ||||
-rw-r--r-- | src/lib/libssl/tls13_key_schedule.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h index b1d24ef02b..6172ac25c9 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.1 2018/11/07 19:43:12 beck Exp $ */ | 1 | /* $OpenBSD: tls13_internal.h,v 1.2 2018/11/08 20:38:25 tb Exp $ */ |
2 | /* Copyright (c) 2018, Bob Beck <beck@openbsd.org> | 2 | /* Copyright (c) 2018, Bob Beck <beck@openbsd.org> |
3 | * | 3 | * |
4 | * Permission to use, copy, modify, and/or distribute this software for any | 4 | * Permission to use, copy, modify, and/or distribute this software for any |
@@ -14,6 +14,8 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <openssl/evp.h> | ||
18 | |||
17 | struct tls13_secret { | 19 | struct tls13_secret { |
18 | uint8_t *data; | 20 | uint8_t *data; |
19 | size_t len; | 21 | size_t len; |
diff --git a/src/lib/libssl/tls13_key_schedule.c b/src/lib/libssl/tls13_key_schedule.c index 6aa8b65e70..b409842d5a 100644 --- a/src/lib/libssl/tls13_key_schedule.c +++ b/src/lib/libssl/tls13_key_schedule.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_key_schedule.c,v 1.1 2018/11/07 19:43:12 beck Exp $ */ | 1 | /* $OpenBSD: tls13_key_schedule.c,v 1.2 2018/11/08 20:38:25 tb Exp $ */ |
2 | /* Copyright (c) 2018, Bob Beck <beck@openbsd.org> | 2 | /* Copyright (c) 2018, Bob Beck <beck@openbsd.org> |
3 | * | 3 | * |
4 | * Permission to use, copy, modify, and/or distribute this software for any | 4 | * Permission to use, copy, modify, and/or distribute this software for any |
@@ -17,7 +17,6 @@ | |||
17 | #include <string.h> | 17 | #include <string.h> |
18 | #include <stdlib.h> | 18 | #include <stdlib.h> |
19 | 19 | ||
20 | #include <openssl/evp.h> | ||
21 | #include <openssl/hkdf.h> | 20 | #include <openssl/hkdf.h> |
22 | 21 | ||
23 | #include "bytestring.h" | 22 | #include "bytestring.h" |