summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdh/ech_lib.c
diff options
context:
space:
mode:
authortb <>2023-04-25 19:26:45 +0000
committertb <>2023-04-25 19:26:45 +0000
commitd450bc3bc87081cdb0f831c070906e9ecf5fd137 (patch)
treea3af15f664ba745ec6f1dd24bd78b427fee17458 /src/lib/libcrypto/ecdh/ech_lib.c
parent67debf20de785e46126aa900cfe4c5d7fd9ca7d8 (diff)
downloadopenbsd-d450bc3bc87081cdb0f831c070906e9ecf5fd137.tar.gz
openbsd-d450bc3bc87081cdb0f831c070906e9ecf5fd137.tar.bz2
openbsd-d450bc3bc87081cdb0f831c070906e9ecf5fd137.zip
Move EC_KEY_{insert,set}_key_method_data() to internal-only
Diffstat (limited to 'src/lib/libcrypto/ecdh/ech_lib.c')
-rw-r--r--src/lib/libcrypto/ecdh/ech_lib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_lib.c b/src/lib/libcrypto/ecdh/ech_lib.c
index 6caef5988f..15d7737c39 100644
--- a/src/lib/libcrypto/ecdh/ech_lib.c
+++ b/src/lib/libcrypto/ecdh/ech_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ech_lib.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */ 1/* $OpenBSD: ech_lib.c,v 1.16 2023/04/25 19:26:45 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -71,12 +71,14 @@
71 71
72#include <openssl/opensslconf.h> 72#include <openssl/opensslconf.h>
73 73
74#include "ech_local.h"
75#ifndef OPENSSL_NO_ENGINE 74#ifndef OPENSSL_NO_ENGINE
76#include <openssl/engine.h> 75#include <openssl/engine.h>
77#endif 76#endif
78#include <openssl/err.h> 77#include <openssl/err.h>
79 78
79#include "ec_local.h"
80#include "ech_local.h"
81
80static const ECDH_METHOD *default_ECDH_method = NULL; 82static const ECDH_METHOD *default_ECDH_method = NULL;
81 83
82static void *ecdh_data_new(void); 84static void *ecdh_data_new(void);