summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libcrypto/ecdh/ecdhtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/ecdh/ecdhtest.c b/src/regress/lib/libcrypto/ecdh/ecdhtest.c
index 415414bdc0..8770e4a8f0 100644
--- a/src/regress/lib/libcrypto/ecdh/ecdhtest.c
+++ b/src/regress/lib/libcrypto/ecdh/ecdhtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdhtest.c,v 1.15 2023/05/16 18:41:18 tb Exp $ */ 1/* $OpenBSD: ecdhtest.c,v 1.16 2023/05/20 16:00:22 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -156,7 +156,7 @@ test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out)
156 156
157 blen = KDF1_SHA1_len; 157 blen = KDF1_SHA1_len;
158 if ((bbuf = malloc(blen)) == NULL) 158 if ((bbuf = malloc(blen)) == NULL)
159 goto err; 159 goto err;
160 bout = ECDH_compute_key(bbuf, blen, EC_KEY_get0_public_key(a), 160 bout = ECDH_compute_key(bbuf, blen, EC_KEY_get0_public_key(a),
161 b, KDF1_SHA1); 161 b, KDF1_SHA1);
162 162