summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ecdh/ech_key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_key.c b/src/lib/libcrypto/ecdh/ech_key.c
index 4c4a3f1c59..d93e95b239 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.30 2023/07/02 02:28:20 tb Exp $ */ 1/* $OpenBSD: ech_key.c,v 1.31 2023/07/02 03:11:51 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -91,10 +91,10 @@ ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
91 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) 91 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
92{ 92{
93 BN_CTX *ctx; 93 BN_CTX *ctx;
94 EC_POINT *point = NULL;
95 BIGNUM *x; 94 BIGNUM *x;
96 const BIGNUM *priv_key; 95 const BIGNUM *priv_key;
97 const EC_GROUP* group; 96 const EC_GROUP *group;
97 EC_POINT *point = NULL;
98 unsigned char *buf = NULL; 98 unsigned char *buf = NULL;
99 int buflen; 99 int buflen;
100 int ret = -1; 100 int ret = -1;