summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_key.c
diff options
context:
space:
mode:
authortb <>2025-01-11 20:57:03 +0000
committertb <>2025-01-11 20:57:03 +0000
commitbed978106e5a26249556280f6db81a4b8114e947 (patch)
treeec69e358b81e7648f63fd3c5e79ae17514612223 /src/lib/libcrypto/ec/ec_key.c
parent3a15195f5d443757ac8eb30c0ef2229a374797e7 (diff)
downloadopenbsd-bed978106e5a26249556280f6db81a4b8114e947.tar.gz
openbsd-bed978106e5a26249556280f6db81a4b8114e947.tar.bz2
openbsd-bed978106e5a26249556280f6db81a4b8114e947.zip
ec_key_gen() is unused outside ec_key.c, so make it static
Diffstat (limited to 'src/lib/libcrypto/ec/ec_key.c')
-rw-r--r--src/lib/libcrypto/ec/ec_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_key.c b/src/lib/libcrypto/ec/ec_key.c
index 09f89d4e57..c3cbf7f927 100644
--- a/src/lib/libcrypto/ec/ec_key.c
+++ b/src/lib/libcrypto/ec/ec_key.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_key.c,v 1.49 2025/01/11 20:55:08 tb Exp $ */ 1/* $OpenBSD: ec_key.c,v 1.50 2025/01/11 20:57:03 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project. 3 * Written by Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -235,7 +235,7 @@ EC_KEY_generate_key(EC_KEY *eckey)
235} 235}
236LCRYPTO_ALIAS(EC_KEY_generate_key); 236LCRYPTO_ALIAS(EC_KEY_generate_key);
237 237
238int 238static int
239ec_key_gen(EC_KEY *eckey) 239ec_key_gen(EC_KEY *eckey)
240{ 240{
241 BIGNUM *priv_key = NULL; 241 BIGNUM *priv_key = NULL;