summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ecdh
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-25 19:26:46 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-25 19:26:46 +0000
commit38b74db3739b1a2933c2fdf2bf3cd886515a052d (patch)
tree299ca27ef6cecdb6533e00a32455313851ece60f /lib/libcrypto/ecdh
parent0e5e376bee9d33f21eb908dc9ed7e41c16a0c514 (diff)
Move EC_KEY_{insert,set}_key_method_data() to internal-only
Diffstat (limited to 'lib/libcrypto/ecdh')
-rw-r--r--lib/libcrypto/ecdh/ech_lib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libcrypto/ecdh/ech_lib.c b/lib/libcrypto/ecdh/ech_lib.c
index 6caef5988f4..15d7737c393 100644
--- a/lib/libcrypto/ecdh/ech_lib.c
+++ b/lib/libcrypto/ecdh/ech_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ech_lib.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */
+/* $OpenBSD: ech_lib.c,v 1.16 2023/04/25 19:26:45 tb Exp $ */
/* ====================================================================
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
*
@@ -71,12 +71,14 @@
#include <openssl/opensslconf.h>
-#include "ech_local.h"
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
#include <openssl/err.h>
+#include "ec_local.h"
+#include "ech_local.h"
+
static const ECDH_METHOD *default_ECDH_method = NULL;
static void *ecdh_data_new(void);