diff options
author | tb <> | 2023-07-02 02:28:20 +0000 |
---|---|---|
committer | tb <> | 2023-07-02 02:28:20 +0000 |
commit | ad1eb5502140e941bb8cb25d1500a875534b04b7 (patch) | |
tree | 6ce19ab3cef3c0436bd8e96ff56037eab505f3e1 /src/lib | |
parent | ccf79d62f8d8fd51fcd85073f8ae49eb460a86a2 (diff) | |
download | openbsd-ad1eb5502140e941bb8cb25d1500a875534b04b7.tar.gz openbsd-ad1eb5502140e941bb8cb25d1500a875534b04b7.tar.bz2 openbsd-ad1eb5502140e941bb8cb25d1500a875534b04b7.zip |
ech_key.c: Fix includes
We need stdint.h for uintptr_t, stdlib.h for malloc, ec.h for various
things, but there's no need for objects. or sha.h.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ecdh/ech_key.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_key.c b/src/lib/libcrypto/ecdh/ech_key.c index 8418073f8a..4c4a3f1c59 100644 --- a/src/lib/libcrypto/ecdh/ech_key.c +++ b/src/lib/libcrypto/ecdh/ech_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ech_key.c,v 1.29 2023/07/01 15:10:28 tb Exp $ */ | 1 | /* $OpenBSD: ech_key.c,v 1.30 2023/07/02 02:28:20 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -68,15 +68,16 @@ | |||
68 | */ | 68 | */ |
69 | 69 | ||
70 | #include <limits.h> | 70 | #include <limits.h> |
71 | #include <stdint.h> | ||
72 | #include <stdlib.h> | ||
71 | #include <string.h> | 73 | #include <string.h> |
72 | 74 | ||
73 | #include <openssl/opensslconf.h> | 75 | #include <openssl/opensslconf.h> |
74 | 76 | ||
75 | #include <openssl/bn.h> | 77 | #include <openssl/bn.h> |
78 | #include <openssl/ec.h> | ||
76 | #include <openssl/ecdh.h> | 79 | #include <openssl/ecdh.h> |
77 | #include <openssl/err.h> | 80 | #include <openssl/err.h> |
78 | #include <openssl/objects.h> | ||
79 | #include <openssl/sha.h> | ||
80 | 81 | ||
81 | #include "ec_local.h" | 82 | #include "ec_local.h" |
82 | 83 | ||