diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ec/ec_key.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 3 |
2 files changed, 3 insertions, 4 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 | } |
236 | LCRYPTO_ALIAS(EC_KEY_generate_key); | 236 | LCRYPTO_ALIAS(EC_KEY_generate_key); |
237 | 237 | ||
238 | int | 238 | static int |
239 | ec_key_gen(EC_KEY *eckey) | 239 | ec_key_gen(EC_KEY *eckey) |
240 | { | 240 | { |
241 | BIGNUM *priv_key = NULL; | 241 | BIGNUM *priv_key = NULL; |
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h index 363c723f66..afa8b0307f 100644 --- a/src/lib/libcrypto/ec/ec_local.h +++ b/src/lib/libcrypto/ec/ec_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_local.h,v 1.61 2025/01/11 20:55:08 tb Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.62 2025/01/11 20:57:03 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -239,7 +239,6 @@ struct ec_key_st { | |||
239 | } /* EC_KEY */; | 239 | } /* EC_KEY */; |
240 | 240 | ||
241 | int eckey_compute_pubkey(EC_KEY *eckey); | 241 | int eckey_compute_pubkey(EC_KEY *eckey); |
242 | int ec_key_gen(EC_KEY *eckey); | ||
243 | int ecdh_compute_key(unsigned char **out, size_t *out_len, | 242 | int ecdh_compute_key(unsigned char **out, size_t *out_len, |
244 | const EC_POINT *pub_key, const EC_KEY *ecdh); | 243 | const EC_POINT *pub_key, const EC_KEY *ecdh); |
245 | int ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, | 244 | int ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, |