summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ecdh
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-07-02 02:28:21 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-07-02 02:28:21 +0000
commit2be205729c470381a0e191cefea8f671b8f776fd (patch)
tree3fa96f63f045ca776ab4b3679f04f21d07775827 /lib/libcrypto/ecdh
parentf28875d9e45436c91dae5c94da4237a3127cf3b3 (diff)
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 'lib/libcrypto/ecdh')
-rw-r--r--lib/libcrypto/ecdh/ech_key.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libcrypto/ecdh/ech_key.c b/lib/libcrypto/ecdh/ech_key.c
index 8418073f8ac..4c4a3f1c59a 100644
--- a/lib/libcrypto/ecdh/ech_key.c
+++ b/lib/libcrypto/ecdh/ech_key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ech_key.c,v 1.29 2023/07/01 15:10:28 tb Exp $ */
+/* $OpenBSD: ech_key.c,v 1.30 2023/07/02 02:28:20 tb Exp $ */
/* ====================================================================
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
*
@@ -68,15 +68,16 @@
*/
#include <limits.h>
+#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#include <openssl/opensslconf.h>
#include <openssl/bn.h>
+#include <openssl/ec.h>
#include <openssl/ecdh.h>
#include <openssl/err.h>
-#include <openssl/objects.h>
-#include <openssl/sha.h>
#include "ec_local.h"